Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Show controls on fullscreen

I'm using jwplayer with `controls: false` and creating custom controls using the API. The problem we've encountered is that in full screen, the controls aren't visible. Is there a way to put back on the original controls in full screen mode or to style custom elements to overlay the fullscreen video?


2 Community Answers


0 rated :

I've figured out how to re-enable the controls using `jwPlayer.setControls(true);`.

Would still be great to know if there's a way to overlay on top of the fullscreen mode though.

Ethan Feldman

JW Player Support Agent  
0 rated :

You can do this with our API:

<!DOCTYPE html>
<script src=""></script>
<div id='my-video'></div>
<br /> <a href="#" onclick="jwplayer().play();">Play</a>
<a href="#" onclick="jwplayer().setFullscreen(true);">Full Screen</a>
<script type='text/javascript'> jwplayer('my-video').setup({ playlist: [{ image: "", sources: [{ file: "" },{ file: "" }] }], controls: false }); jwplayer().onFullscreen(function(){ jwplayer().setControls(true); if(jwplayer().getFullscreen() == false){ jwplayer().setControls(false); } }); </script>

This question has received the maximum number of answers.