Skip to content

Commit

Permalink
Added player settings (copied from appearance/player) to the "player"…
Browse files Browse the repository at this point in the history
… menu
  • Loading branch information
bstassar committed Apr 2, 2024
1 parent 4c43c76 commit e54653e
Showing 1 changed file with 55 additions and 1 deletion.
56 changes: 55 additions & 1 deletion menu/skeleton-parts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,60 @@ extension.skeleton.main.layers.section.player.on.click = {
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 e54653e

Please sign in to comment.