1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-03 00:57:02 +02:00

@mmcc added functions for better timeout and interval handling. closes #1642

This commit is contained in:
Matthew McClure
2014-12-03 11:31:39 -08:00
committed by heff
parent ea7bf36588
commit 1f6c5179d8
12 changed files with 215 additions and 68 deletions

View File

@ -219,7 +219,7 @@ vjs.Html5.prototype.enterFullScreen = function(){
// playing and pausing synchronously during the transition to fullscreen
// can get iOS ~6.1 devices into a play/pause loop
setTimeout(function(){
this.setTimeout(function(){
video.pause();
video.webkitEnterFullScreen();
}, 0);