Skip to content

Commit

Permalink
Merge pull request #2151 from BoazStassar/Issue-#2037
Browse files Browse the repository at this point in the history
Copied player settings  from appearance/player to the player menu (Fix to Issue #2037)
  • Loading branch information
ImprovedTube authored Apr 3, 2024
2 parents c0b1679 + 4d4a4b0 commit 1a3c2a9
Showing 1 changed file with 72 additions and 18 deletions.
90 changes: 72 additions & 18 deletions menu/skeleton-parts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,22 +1032,76 @@ extension.skeleton.main.layers.section.player.on.click = {
component: 'section',
variant: 'card',
title: 'extraButtonsBelowThePlayer',

below_player_screenshot: {
component: 'switch',
text: 'screenshot',
value: true
},
below_player_pip: {
component: 'switch',
text: 'pictureInPicture',
value: true
},
below_player_loop: {
component: 'switch',
text: 'loop',
value: true
}
},
}
below_player_screenshot: {
component: 'switch',
text: 'screenshot',
value: true
},
below_player_pip: {
component: 'switch',
text: 'pictureInPicture',
value: true
},
below_player_loop: {
component: 'switch',
text: 'loop',
value: true
}
},
player_hide_controls_options: {
component: "button",
text: "hidePlayerControlsBarButtons",
on: {
click: {
component: "section",
variant: "card",

player_play_button: {
component: "switch",
text: "playPause"
},
player_previous_button: {
component: "switch",
text: "previousVideo"
},
player_next_button: {
component: "switch",
text: "nextVideo"
},
player_volume_button: {
component: "switch",
text: "volume"
},
player_autoplay_button: {
component: "switch",
text: "autoplay"
},
player_settings_button: {
component: "switch",
text: "settings"
},
player_subtitles_button: {
component: "switch",
text: "subtitles"
},
player_miniplayer_button: {
component: "switch",
text: "nativeMiniPlayer"
},
player_view_button: {
component: "switch",
text: "viewMode"
},
player_screen_button: {
component: "switch",
text: "screen"
},
player_remote_button: {
component: "switch",
text: "remote"
}
}
}
},
}
};

0 comments on commit 1a3c2a9

Please sign in to comment.