javascript - How to hide JWPlayer 6 play button? -
i using jwplayer 5, right moving jwplayer 6.
<script> jwplayer('myelement2').setup({ file: 'intro.mp4', image: 'intro.png', skin: 'stormtrooper', icons: 'false' // doesn't work on jwplayer 6 }); jwplayer('myelement2').getplugin("display").hide(); </script>
on jwplayer 5 icons: 'false'
, there no play button.
the best way create own skin, , leave element out of definition. think can little brute-force css:
<style> .jwdisplayicon { display: none !important; } </style>
clicking video frame still start playback.
Comments
Post a Comment