зеркало из https://github.com/mozilla/popcorn-js.git
[#948] safari reports a different duration, probably because it is not using the ogg. Instead test against the duration, so it works on all browser.
This commit is contained in:
Родитель
1e7fba6cf4
Коммит
251c081c9b
|
@ -3802,8 +3802,8 @@ test( "end undefined or false should never be fired", function() {
|
|||
$pop.neverEndingStory({});
|
||||
$pop.neverEndingStory({ end: false });
|
||||
$pop.neverEndingStory({ end: undefined });
|
||||
$pop.endingStory({ end: 64.541666 });
|
||||
$pop.play( 64.541666 );
|
||||
$pop.endingStory({ end: $pop.duration() });
|
||||
$pop.currentTime( $pop.duration() );
|
||||
});
|
||||
|
||||
module( "Popcorn XHR" );
|
||||
|
|
Загрузка…
Ссылка в новой задаче