зеркало из https://github.com/mozilla/popcorn-js.git
[#610] Fixes canplayall event timeout
This commit is contained in:
Родитель
c181db01bb
Коммит
76328ec4a5
|
@ -646,7 +646,7 @@ test("Popcorn.events.hooks: canplayall", function() {
|
|||
}
|
||||
}
|
||||
|
||||
stop( 10000 );
|
||||
stop( 20000 );
|
||||
|
||||
var video = document.createElement("video"),
|
||||
sources = {
|
||||
|
@ -658,8 +658,10 @@ test("Popcorn.events.hooks: canplayall", function() {
|
|||
|
||||
video.id = "event-fixture";
|
||||
video.controls = true;
|
||||
video.autoplay = true;
|
||||
video.preload = "auto";
|
||||
|
||||
|
||||
Popcorn.forEach( sources, function( source, type ) {
|
||||
source.src = url + type;
|
||||
video.appendChild( source );
|
||||
|
|
Загрузка…
Ссылка в новой задаче