From: rwldrn Date: Fri, 24 Jun 2011 13:10:17 +0000 (-0400) Subject: [#610] Fixes canplayall event timeout X-Git-Tag: v0.7^2~3^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=76328ec4a5a39d697fada0ff5f8d7e3c4cb600b2;p=popcorn-js.git [#610] Fixes canplayall event timeout --- diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index 6b1192b..15178e4 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -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 );