const dp = new DPlayer({
container: document.getElementById(‘ripro-mse’),
logo: ‘/wp-content/uploads/2020/07/1595646498-126d1e15ca470a2.png’, //LOGO
video: {
url: ”, //视频地址
type: ‘auto’, //视频类型
pic: ‘https://i0.wp.com/madouqu.com/wp-content/uploads/2023/09/1694396321-bde85dd5fc812cb.png?x-oss-process=image/resize,m_fill,h_200,w_300’, //视频类型
},
contextmenu: [{text: ‘麻豆区’,link: ‘https://madouqu.com’,}],
});
var mask = $(“.dplayer-mask”)
mask.show()
if (!mask.hasClass(‘content-do-video’)) {
mask.append(‘
免费观看
观看当前视频需要支付
积分
已有人支付
‘);
$(“.dplayer-video-wrap”).addClass(“video-filter”);
}
评论0