]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed unit test issue where setting the medias current time in the parserXML unit... t689
authorChristopher De Cairos <chris.decairos@gmail.com>
Thu, 8 Sep 2011 20:59:23 +0000 (16:59 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Thu, 8 Sep 2011 20:59:23 +0000 (16:59 -0400)
parsers/parserXML/popcorn.parserXML.unit.js

index 9b4a963692d7059d96983468b8be7725433966fe..04c85cae78af8c25831cdb9e54a0d52fe51abafe 100644 (file)
@@ -11,6 +11,7 @@ test("Popcorn 0.1 XML Parser Plugin", function () {
       start();
       // clean up added events after tests
       clearInterval( interval );
+      poppercorn.pause();
     }
   }
   
@@ -55,7 +56,7 @@ test("Popcorn 0.1 XML Parser Plugin", function () {
 
   poppercorn.parseXML( "data/unit.XML", function() {
 
-    poppercorn.currentTime(5);
+    poppercorn.currentTime(5).play();
   });  
 });