I am in the process of developing my own HTML 5 Browser Player. Everything seems to be working well, except for getting the full screen feature to function properly in IE 10. Chrome, Safari, and Firefox are all doing great with it.
Unfortunately, my JavaScript skills could use some improvement, so if someone could kindly explain things to me in a simpler manner, I would greatly appreciate it.
I have come across information on certain websites suggesting that IE does not support Full Screen. However, I am able to go Full Screen using the browser player controls on IE10. (I have to say Microsoft really needs to step up their game and catch up with the rest!)
If anyone has any tips or suggestions, please share! Thank you in advance!
Below is the code I currently have for my full screen function:
function toggleFullScreen() {
if(vid.requestFullScreen) {
vid.requestFullScreen();
} else if(vid.webkitRequestFullScreen) {
vid.webkitRequestFullScreen();
} else if(vid.mozRequestFullScreen) {
vid.mozRequestFullScreen();
}
}