mirror of
https://github.com/videojs/video.js.git
synced 2025-01-13 10:32:26 +02:00
Fixed a controls test on the iPhone
On the iphone the controls attribute of the video element is always true.
This commit is contained in:
parent
f96803a806
commit
f27df10920
@ -81,7 +81,11 @@ test('should remove the controls attribute when recreating the element', functio
|
||||
player.options_['nativeControlsForTouch'] = false;
|
||||
el = tech.createEl();
|
||||
|
||||
ok(!el.controls, 'controls attribute is absent');
|
||||
// On the iPhone controls are always true
|
||||
if (!vjs.IS_IPHONE) {
|
||||
ok(!el.controls, 'controls attribute is absent');
|
||||
}
|
||||
|
||||
ok(player.tagAttributes.controls, 'tag attribute is still present');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user