Modified in/out alias unit tests to begin playback of the video after the seek to 0 has completed [#864]

This commit is contained in:
Christopher De Cairos 2012-01-30 16:42:06 -05:00
Родитель 0631200619
Коммит 52563d9250
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -3195,6 +3195,10 @@ test( "In/Out aliases", function() {
out: 3
});
popcorn.listen( "seeked", function() {
this.unlisten( "seeked" ).play();
})
popcorn.currentTime( 0 ).pause();
ok( popcorn.data.events[ "in" ], "in is a valid alias for start" );
@ -3215,8 +3219,6 @@ test( "In/Out aliases", function() {
equal( counter, 2, "Counter is at 2, out has been called" );
plus();
});
popcorn.play();
});
module( "Popcorn TrackEvents" );