Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(player): adapt player height to control bar height in audioOnly m…
…ode (#8579) 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
- Loading branch information