首页使用教程苹果cms常见问题-为什么web播放器不能全屏?

苹果cms常见问题-为什么web播放器不能全屏?

时间2024-10-17 14:31:07浏览143
导读:如果播放器被包含在iframe里,尝试在iframe上添加allowfullscreen属性。 为了完善的浏览器兼容性,它应该是这样: MacPlayer.HTML = '<iframe width="100%" height="'+MacPlayer.Height+'" src="/static/player/18ma-play/...

如果播放器被包含在iframe里,尝试在iframe上添加allowfullscreen属性。

为了完善的浏览器兼容性,它应该是这样:


  1. MacPlayer.HTML = '<iframe width="100%" height="'+MacPlayer.Height+'" src="/static/player/18ma-play/?url='+MacPlayer.PlayUrl+'" allowtransparency="true" allowfullscreen="true" marginWidth="0" frameSpacing="0" marginHeight="0" frameBorder="0" scrolling="no" vspale="0" noResize></iframe>';
  2. MacPlayer.Show();
复制代码


苹果cms-reverse()函数是什么? 苹果CMS用定时任务功能自动完成采集资源、生成静态视频文章等操作