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

Fullscreen not working in my embed code


Hi everybody,

I have a Drupal server with JW Player 5 (I know, it's quite old) and my HTML5 embedded videos don't work with full screen.

When the full screen button is clicked, the video is maximized only to fit the browser window, so putting it into an iframe does not work even if allowfullscreen parameter is set in the iframe.

My embed code (with my test server IP masked as it is not public) is like this:

<!DOCTYPE html><head><script type="text/javascript"
src="https://<SERVER>/sites/default/files/jwplayermodule/player/jwplayer.js"></script>
<style>* {margin: 0;padding: 0;} html {height: 100%; width: 100%; }</style>
</head>
<body>
<div id="player">Cargando reproductor...</div>
<script type="text/javascript">jwplayer(player).setup({
flashplayer: "https://<SERVER>/sites/default/files/jwplayermodule/player/player.swf",
file: "http://<SERVER>/sites/default/files/videos/arte/converted/20995_21058_marshall.mp4",
provider: "video",
image: "https://<SERVER>/sites/default/files/video_thumbs/20995/video-thumb-for-20995-1.jpg",
controlbar: "bottom",
allowfullscreen: "true",
height: "100%",
width: "100%",
logo: {file: 'https://<SERVER>/sites/default/files/jwplayermodule/PoweredByUPNA.png',link: 'https://<SERVER>',position: 'top-left', timeout: '12'},
plugins: {'related-1': {file: 'https://<SERVER>/sites/default/files/related_videos/2764.xml' }, 'sharing-3': {'code': '<iframe src="https://<SERVER>/upnatvscripts/EmbedCodeGen.php?file=sites/default/files/videos/arte/converted/20995_21058_marshall.mp4&node=node/2764" allowfullscreen="allowfullscreen" width="512px" height="308px" frameborder="0" scrolling="yes" ></iframe>', link: 'https://<SERVER>/?q=node/2764' } },
modes: [{type: 'html5'}, {type: 'flash', src: 'https://<SERVER>/sites/default/files/jwplayermodule/player/player.swf'}]});
</script>
</body>
</html>

Please, could you help me? I can give a real embed code from my production server if you need it, but this code is from my test server where I can change things easier.

Thanks in advance.
Best regards.

5 Community Answers

Donni

JW Player Support Agent  
0 rated :

If you’re serving an MP4, can you look at using JW 7? I’m afraid we haven’t supported JW 5 in quite a while.

Daniel Merino

User  
0 rated :

Hi Donny,

We are using your JW Player Video module for Drupal 6 and it only works with JW Player 5. At least, that is what Ethan Feldman told me when we purchased the license in June 2013. In that time, JW Player 6 was already available but it didn't work with Drupal 6 and we purchased 5.10 just to use the module.

I have seen in this topic (https://support.jwplayer.com/customer/portal/questions/6062935-iframe-problem-with-jw-player-v6-and-fullscreen) that the fullscreen feature of the HTML5 api was not supported by JW Player 5 and you added it to JW Player 6, but I wonder if there is any other patch or workaround that we could use.

Thanks in advance.

Jessenia

JW Player Support Agent  
0 rated :

There are no patches available as we no longer support JW 5. The HTML5 fullscreen iframe issue was resolved in JW 6, so my recommendation would be to try this version. However, please note that we no longer support this version either. Legacy support for JW Player version 6 was terminated on December 31, 2016. Our best recommendation is always to use the most up to date version of the license, JW 7.

Kind regards,
Jessenia

Daniel Merino

User  
0 rated :

Thanks, Jessy. I fear we can't use another version unless it works with Drupal 6.

Please, could you tell me if the solution for JW6 is publicly available? Just to take a look on it and see how it was solved.

Thanks in advance.

Jessenia

JW Player Support Agent  
0 rated :

The update was made in version 6.7 of the player and is available on our JW Player 6 release notes page.

This question has received the maximum number of answers.