mirror of
https://github.com/videojs/video.js.git
synced 2025-01-17 10:46:00 +02:00
@OwenEdwards fixed menu closing on ios, specifically ipad. closes #3158
This commit is contained in:
parent
21051534f3
commit
f82a3d148f
@ -8,6 +8,7 @@ CHANGELOG
|
||||
* @BrandonOCasey updated text track unit tests to use full es6 syntax ([view](https://github.com/videojs/video.js/pull/3148))
|
||||
* @defli added missing var to sandbox index.html example ([view](https://github.com/videojs/video.js/pull/3155))
|
||||
* @defli fixed typo and updated Turkish translations ([view](https://github.com/videojs/video.js/pull/3156))
|
||||
* @OwenEdwards fixed menu closing on ios, specifically ipad ([view](https://github.com/videojs/video.js/pull/3158))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
max-height: 15em;
|
||||
}
|
||||
|
||||
.vjs-menu-button-popup:hover .vjs-menu,
|
||||
.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu,
|
||||
.vjs-menu-button-popup .vjs-menu.vjs-lock-showing {
|
||||
display: block;
|
||||
}
|
||||
|
@ -196,6 +196,11 @@ class Player extends Component {
|
||||
// this.addClass('vjs-touch-enabled');
|
||||
// }
|
||||
|
||||
// iOS Safari has broken hover handling
|
||||
if (!browser.IS_IOS) {
|
||||
this.addClass('vjs-workinghover');
|
||||
}
|
||||
|
||||
// Make player easily findable by ID
|
||||
Player.players[this.id_] = this;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user