在jwplayer中隐藏右键单击选项

时间:2015-11-25 10:13:49

标签: javascript jwplayer jwplayer6

在Chrome中 如果我右键点击jwplayer视频,我只能看到一个选项"关于jwplayer 6.12 .." enter image description here

但在Internet Explorer中: 共有4个选项显示:

  • 关于jwplayer 6.12 ..
  • 设置
  • 全局设置
  • 关于Adobe Flash player 19.0.0.226

enter image description here

如何在Internet Explorer中隐藏最后3个选项?

3 个答案:

答案 0 :(得分:1)

这是可能的,但您需要许可证才能这样做。 https://support.jwplayer.com/customer/portal/articles/1406865-branding-your-player

答案 1 :(得分:0)

你不能,抱歉。它取决于Internet Explorer的源代码,右键单击Flash或HTML5视频元素时显示的内容。

答案 2 :(得分:0)

一个技巧是将此规则添加到CSS:

.jw-rightclick { display: none !important; }

这将隐藏HTML生成的jwplayer右键菜单,但不会隐藏在Internet Explorer中。

这完全无法解决问题,但它会帮助其他用户找到与此帖子标题相关的问题。

相关问题