如何隐藏JWPlayer播放按钮? [英] How to hide the JWPlayer play button?
本文介绍了如何隐藏JWPlayer播放按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在JW Player中隐藏视频屏幕中央的播放按钮?
How can I hide the play button that's in the center of the video screen in JW Player?
我正在使用播放器的5.4版,并使用他们自己的"JW Embedder"技术将其嵌入.
I'm using version 5.4 of the player and I am embedding it using their own 'JW Embedder' technique.
我已经尝试了以下方法:
I've tried the following with no luck:
jwplayer("myPlayer").setup({
file: 'myMediaFile.mp4',
image: 'myPosterFile.jpg',
controlbar: 'bottom',
icons: false
});
我在某处读到它可能已在5.0版中删除,现在必须使用皮肤来完成.但是,我也读到它是在5.1版中返回的...?
I've read somewhere that this may have been removed with version 5.0 and must now be done with a skin. But, I also read that it returned in version 5.1 ... ?
推荐答案
您正在寻找显示"插件.根据需要隐藏.
You are looking for the "display" plugin. Hide as needed.
jwplayer().getPlugin("display").hide();
这篇关于如何隐藏JWPlayer播放按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文