mirror of
https://github.com/videojs/video.js.git
synced 2025-04-11 11:42:08 +02:00
Fixed a broken playbackRate test on Android 2.3
This commit is contained in:
parent
7ead5f708f
commit
7d4b26625f
@ -56,6 +56,12 @@ test('should re-link the player if the tech is moved', function(){
|
||||
test('test playbackRate', function() {
|
||||
var playbackRate;
|
||||
|
||||
// Android 2.3 always returns 0 for playback rate
|
||||
if (!vjs.Html5.canControlPlaybackRate()) {
|
||||
ok('Playback rate is not supported');
|
||||
return;
|
||||
}
|
||||
|
||||
tech.createEl();
|
||||
|
||||
tech.el().playbackRate = 1.25;
|
||||
|
Loading…
x
Reference in New Issue
Block a user