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.

Community
  • 1
  • 1
Hitesh
  • 4,098
  • 11
  • 44
  • 82
  • IE8 doesn't support it natively. SO knows about dirty hacks to do it. http://stackoverflow.com/questions/464332/internet-explorer-full-screen-mode – unconnected Nov 21 '15 at 11:44
  • @unconnected : Thanks for answering. dirty hacks will also work, please add those as answer :P – Hitesh Nov 28 '15 at 05:14

3 Answers3

1

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

Community
  • 1
  • 1
unconnected
  • 991
  • 1
  • 10
  • 21
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...

jolumg
  • 714
  • 2
  • 15
  • 31
0

press f11 programatically by calling this function

function max() {
    var wscript = new ActiveXObject("Wscript.shell");
    wscript.SendKeys("{F11}");
}
Elon Zito
  • 2,872
  • 1
  • 24
  • 28