mirror of
https://github.com/videojs/video.js.git
synced 2025-01-08 07:00:10 +02:00
8050466bcc
Adapts the `player.height` to the `controlBar.currentHeight` when the `audioOnlyMode` is `enabled`. This ensures that the player height and control bar height are always in sync when the player is resized. - add `updatePlayerHeightOnAudioOnlyMode_` function that will update the player height according to the control bar height when the player is resized - modify `enableAudioOnlyUI_` - add a `controlBarHeight` to `audioOnlyCache_` to keep track of the control bar height changes when the player is resized - add a `playerresize` listener - modify `disableAudioOnlyUI_` to remove the `playerresize` listener |
||
---|---|---|
.. | ||
api | ||
require | ||
unit | ||
karma.conf.js | ||
sinon.js |