mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-13 15:46:46 +03:00
feat(UI)!: Add bigButtons config and remove addBigPlayButton config (#9636)
- The following buttons are registered: play_pause, mute, fullscreen, rewind, fast_forward, picture_in_picture, remote, loop, skip_next, skip_previous - SmallPlayButton and BigPlayButton are removed - The following buttons are used by default on mobile: skip_previous, play_pause, skip_next
This commit is contained in:
committed by
GitHub
parent
0c0c2ffe29
commit
3fd73ce941
+9
-15
@@ -418,14 +418,12 @@ describe('UI', () => {
|
||||
// Overflow button
|
||||
UiUtils.confirmElementFound(controlsButtonPanel,
|
||||
'shaka-overflow-menu-button');
|
||||
// Big play button
|
||||
// Big buttons
|
||||
UiUtils.confirmElementFound(videoContainer,
|
||||
'shaka-play-button-container');
|
||||
UiUtils.confirmElementFound(videoContainer,
|
||||
'shaka-play-button');
|
||||
'shaka-big-buttons-container');
|
||||
// Small play button
|
||||
UiUtils.confirmElementMissing(videoContainer,
|
||||
'shaka-small-play-button');
|
||||
'shaka-play-button');
|
||||
// Volume bar
|
||||
UiUtils.confirmElementMissing(controlsButtonPanel,
|
||||
'shaka-volume-bar');
|
||||
@@ -439,14 +437,12 @@ describe('UI', () => {
|
||||
// Overflow button
|
||||
UiUtils.confirmElementMissing(controlsButtonPanel,
|
||||
'shaka-overflow-menu-button');
|
||||
// Big play button
|
||||
// Big buttons
|
||||
UiUtils.confirmElementMissing(videoContainer,
|
||||
'shaka-play-button-container');
|
||||
UiUtils.confirmElementMissing(videoContainer,
|
||||
'shaka-play-button');
|
||||
'shaka-big-buttons-container');
|
||||
// Small play button
|
||||
UiUtils.confirmElementFound(videoContainer,
|
||||
'shaka-small-play-button');
|
||||
'shaka-play-button');
|
||||
// Volume bar
|
||||
UiUtils.confirmElementMissing(controlsButtonPanel,
|
||||
'shaka-volume-bar');
|
||||
@@ -460,14 +456,12 @@ describe('UI', () => {
|
||||
// Overflow button
|
||||
UiUtils.confirmElementFound(controlsButtonPanel,
|
||||
'shaka-overflow-menu-button');
|
||||
// Big play button
|
||||
// Big buttons
|
||||
UiUtils.confirmElementMissing(videoContainer,
|
||||
'shaka-play-button-container');
|
||||
UiUtils.confirmElementMissing(videoContainer,
|
||||
'shaka-play-button');
|
||||
'shaka-big-buttons-container');
|
||||
// Small play button
|
||||
UiUtils.confirmElementFound(videoContainer,
|
||||
'shaka-small-play-button');
|
||||
'shaka-play-button');
|
||||
// Volume bar
|
||||
UiUtils.confirmElementFound(controlsButtonPanel,
|
||||
'shaka-volume-bar');
|
||||
|
||||
Reference in New Issue
Block a user