有用户使用DPlayer播放器,调用的时候无法点击全屏,这种情况是调用方式不对造成的。

处理办法如下:
苹果cms播放器接口调用为例

找到player文件夹下,对应的接口js文件,打开编辑,在 iframe 代码中,添加两段代码

allowtransparency="true" allowfullscreen="true"

1628732811-b460eacc8eeb6c7

如图,随便添加到什么位置,但是要注意前后空格

附完整的调用代码

MacPlayer.Html = '<iframe width="100%" height="'+MacPlayer.Height+'" src="'+MacPlayer.PlayUrl+'" frameborder="0" allowtransparency="true" allowfullscreen="true" border="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe>';
MacPlayer.Show();

添加完毕保存,然后就可以点击全屏就可以生效了

PPVOD【CPU授权】:500/1个月,1000/3个月,1500/6个月,2000/12个月 PPVOD【GPU授权】:700/1个月,6000/12个月 BTCDN:700/12个月 直播授权:2000/12个月 GPU授权用户需要WIN系统,必须N卡,算力最好6.0以上 CPU授权用户支持Windows/Linux系统,推荐使用Linux系统 购买地址:https://shop.mingchuang.cc/search/brand/3.html 注册用户购买不需要登记手机号码,游客登入需要登记手机号码。 请注意购买时间和续费时间需要在上班时间内完成,上班时间:上午9点至晚上9点。

在网站右侧就可以联系

https://www.ppvod.cc/soft/#soft

https://www.ppvod.cc/soft/#enclosure

https://www.ppvod.cc/soft/#introduce