Jwplayer fullscreen - on clicking the custom button in IE8
Asked Answered
R

3

0

I want to make jwplayer to fullscreen when I click on my own custom button "Fullscreen".

I am aware of jwplayer().setFullscreen(true); but it is not supported in IE8.

I have also tried AngularFullScreen but it will also not support in IE8.

Is there any way to do this in IE8?

Thanks in Advance.

Rejuvenate answered 21/11, 2015 at 10:49 Comment(2)
IE8 doesn't support it natively. SO knows about dirty hacks to do it. #464832Neo
@Neo : Thanks for answering. dirty hacks will also work, please add those as answer :PRejuvenate
N
1

IE8 doesn't support software switch to fullscreen. You have to emulate F11 key press. Check this topic: Internet Explorer full screen mode?

Neo answered 28/11, 2015 at 9:8 Comment(1)
@hitesh Sorry, I don't know any more. I have luck to leave all deprecated stuff unsupported :)Neo
N
0

You can not. Because of a security limitation it is not possible to set fullscreen from outside of the flash player, not in Jwplayer, not in flowplayer. Sorry...

Naoise answered 4/12, 2015 at 12:32 Comment(0)
R
0

press f11 programatically by calling this function

function max() {
    var wscript = new ActiveXObject("Wscript.shell");
    wscript.SendKeys("{F11}");
}
Repay answered 9/12, 2015 at 9:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.