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

how to prevent fullscreen


how to prevent fullscreen on this code?

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "",
skin: '',
autostart: true,
stretching: 'exactfit',
height: 250,
width: 5000,
logo: {
file: '',
position: '',
},
sharing: {
link: ""
}
});
</script>

4 Community Answers

JW Player

User  
0 rated :

try
controls: false;

this would prevent a controlbar to be displayed

JW Player

User  
0 rated :

dont work, but thanks

JW Player

User  
0 rated :

I may be wrong, but I think the only way to do this is to build your own skin, and not provide a fullscreen icon on it. I don't think there's any way to accomplish it through the API, for example.

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, you need to make your own skin and remove the full screen icon from the control bar. The sdk is here – http://developer.longtailvideo.com/trac/browser/sdks/jw6-skin-sdk

This question has received the maximum number of answers.