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

HTML5 IFrame Fullscreen Problem


Hello,

I am trying to add jw player in iFrame and to use fullscreen outside iframe, but fullscreen is working only in iFrame. And the fullscreen button no longer shows up when the player is embedded in an iframe. Is there any way to make real fullscreen outside iFrame and the button show up again?

I have placed "allowFullScreen" attribute on iFrame but it doesn't help at all, and am using JWPlayer 6.8

I was told in 6.8 this would fix this. But i'm not seeing the fix :(

10 Community Answers

MisterNeutron

Best Answer 

That's correct. IE9 and IE10 do not support fullscreen from within an iframe in HTML5 mode (not a JW Player limitation - the browser itself doesn't support it). They support it only in Flash mode. IE11 fixed this problem.

In Flash mode, there's no problem, as you would expect:

http://misterneutron.com/JW68iframeFlash/

So, if you're truly desperate to support fullscreen from an iframe in IE9 and IE10, you can make Flash the primary.

Firefox, Chrome, and Safari are OK in either mode, of course.

View in conversation

MisterNeutron

User  
0 rated :

Please give us a link to your page.

Here's a demo page that shows fullscreen working from within an iframe, though there is still one bug in IE11:

http://misterneutron.com/JW68iframe/

roger

User  
0 rated :

This page you linked above does not work for me in IE9,10, or 11 and I do not see a full screen button to go full screen. Also when I double click to fullscreen nothing happens.

Here is our player url
http://wpc.tri-digital.com/videoConnect.aspx?guid=fe9fc154-7a33-4de9-989d-017079079da4

Here is the page the URL is being called on using the iFrame
http://www.digitalwpc.com/Videos/Pages/Videos.aspx?g=fe9fc154-7a33-4de9-989d-017079079da4#fbid=C6v3l-Fnt7h

roger

User  
0 rated :

Sorry I take that back, on IE11 we do get the full screen button and double click to full screen. But on IE9 and 10 we do not.

MisterNeutron

Best Answer  User  
0 rated :

That's correct. IE9 and IE10 do not support fullscreen from within an iframe in HTML5 mode (not a JW Player limitation - the browser itself doesn't support it). They support it only in Flash mode. IE11 fixed this problem.

In Flash mode, there's no problem, as you would expect:

http://misterneutron.com/JW68iframeFlash/

So, if you're truly desperate to support fullscreen from an iframe in IE9 and IE10, you can make Flash the primary.

Firefox, Chrome, and Safari are OK in either mode, of course.

roger

User  
0 rated :

This is not true.

Using a standard HTML5 <video> tag I am able to do fullscreen just fine, on its own page or within an IFrame.

Using IE9 + will render a standard <video> tag and not the jwplayer code at all. Works just fine here

See my links again:
My Player URL
http://wpc.tri-digital.com/videoConnect.aspx?guid=fe9fc154-7a33-4de9-989d-017079079da4
Page the URL is being called on using the iFrame
http://www.digitalwpc.com/Videos/Pages/Videos.aspx?g=fe9fc154-7a33-4de9-989d-017079079da4#fbid=C6v3l-Fnt7h

MisterNeutron

User  
0 rated :

Is that with real IE9 and IE10, or with "developer tools" emulation?

roger

User  
-1 rated :

The current version of IE I have on my computer is IE10. (I refuse to upgrade to Windows 8.1) So that is with real IE10.

Maybe something has changed since you last checked?

MisterNeutron

User  
0 rated :

Yeah, maybe something's changed, because I'm pretty sure native IE9 and IE10 couldn't handle fullscreen in HTML5 mode from within an iframe.

Truth be told, I don't pay much attention to IE9 and IE10 any longer - their usage stats are dropping off even faster than IE8. And BTW, you don't need Win8 for IE11 - Win7 will do just fine. Do yourself a favor, and let Windows Update bring you up to date.

roger

User  
0 rated :

While I agree their usage stats are dropping I work for a company that needs to have complete browser support back to IE8 and greater. That is one of the biggest advantages of the JW player was its full browser support. So simply not paying attention to those browsers is not an option for me.

Also I currently already have Windows 8, so I cant get IE11 unless I upgrade to 8.1

Andrew

JW Player Support Agent  
0 rated :

IE10 doesn’t have a fullscreen API available, so we would always suggest using Flash for this browser. See:
http://caniuse.com/fullscreen

I’d definitely suggest using flash if possible.

This question has received the maximum number of answers.