зеркало из https://github.com/mozilla/popcorn-js.git
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:
Родитель
0631200619
Коммит
52563d9250
|
@ -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" );
|
||||
|
|
Загрузка…
Ссылка в новой задаче