Compare Revisions

Using fullscreen mode

Revision 31158:

Revision 31158 by yyss on

Revision 31159:

Revision 31159 by ernestd on

Title:
Using full-screen mode
Using full-screen mode
Slug:
DOM/Using_full-screen_mode
DOM/Using_full-screen_mode
Tags:
DOM, NeedsTechnicalReview, video, MakeBrowserAgnostic, Full-screen
DOM, NeedsTechnicalReview, video, MakeBrowserAgnostic, Full-screen
Content:

Revision 31158
Revision 31159
t184    if (videoElement.requestFullScreen) {t184    if (document.documentElement.requestFullScreen) {
185      videoElement.requestFullScreen();185      document.documentElement.requestFullScreen();
186    } else if (elem.mozRequestFullScreen) {186    } else if (document.documentElement.mozRequestFullScreen) {
187      videoElement.mozRequestFullScreen();187      document.documentElement.mozRequestFullScreen();
188    } else if (elem.webkitRequestFullScreen) {188    } else if (document.documentElement.webkitRequestFullScreen) 
 >{
189      videoElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD189      document.documentElement.webkitRequestFullScreen(Element.AL
>_INPUT);>LOW_KEYBOARD_INPUT);

Back to History