1
0
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:
Steve Heffernan 2014-09-02 17:38:11 -07:00
parent 7ead5f708f
commit 7d4b26625f

View File

@ -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;