您好,有问题可咨询网页机器人客服

使用share分享地址不能全屏的问题

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

 
处理办法
 
以苹果cms播放器接口调用为例
 
找到player文件夹下,对应的接口js文件,打开编辑,在 iframe 代码中,添加两段代码

allowtransparency="true" allowfullscreen="true"



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

附完整的调用代码


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视频点播系统下载地址:http://www.ppvod.com/dianbo/xiazai/440.html
PPVOD全能直播软件下载地址:http://www.ppvod.com/zhibo/xiazai/511.html
在线服务QQ:250093148