diff --git a/src/renderer/components/distraction-settings/distraction-settings.js b/src/renderer/components/distraction-settings/distraction-settings.js index cdb0f4f0159b6..eb584eaff6b0f 100644 --- a/src/renderer/components/distraction-settings/distraction-settings.js +++ b/src/renderer/components/distraction-settings/distraction-settings.js @@ -203,7 +203,7 @@ export default defineComponent({ 'updateHideLiveChat', 'updateHideActiveSubscriptions', 'updatePlayNextVideo', - 'updateDefaultTheatreMode', + 'updateDefaultViewingMode', 'updateHideVideoDescription', 'updateHideComments', 'updateHideCommentPhotos', diff --git a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js index c7d55ef748468..730328a243ab9 100644 --- a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js +++ b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js @@ -2378,7 +2378,6 @@ export default defineComponent({ registerLegacyQualitySelection() registerStatsButton() - if (ui.isMobile()) { useOverFlowMenu.value = true } else { diff --git a/src/renderer/components/player-settings/player-settings.js b/src/renderer/components/player-settings/player-settings.js index 4705f5ec3a612..6428fb26438a3 100644 --- a/src/renderer/components/player-settings/player-settings.js +++ b/src/renderer/components/player-settings/player-settings.js @@ -49,6 +49,14 @@ export default defineComponent({ 0.5, 1 ], + viewingModeValues: [ + 'default', + 'theatre', + 'fullscreen', + 'fullwindow', + 'pip', + 'external_player' + ], screenshotFormatNames: [ 'PNG', 'JPEG' @@ -119,8 +127,8 @@ export default defineComponent({ return this.$store.getters.getDefaultQuality }, - defaultTheatreMode: function () { - return this.$store.getters.getDefaultTheatreMode + defaultViewingMode: function () { + return this.$store.getters.getDefaultViewingMode }, hideRecommendedVideos: function () { @@ -177,6 +185,17 @@ export default defineComponent({ ] }, + viewingModeNames: function () { + return [ + this.$t('Settings.General Settings.Thumbnail Preference.Default'), + this.$t('Video.Player.Theatre Mode'), + this.$t('Settings.Player Settings.Default Viewing Mode.Fullscreen'), + this.$t('Video.Player.Full Window'), + this.$t('Settings.Player Settings.Default Viewing Mode.Picture in Picture'), + this.$t('Settings.External Player Settings.External Player'), + ] + }, + enableScreenshot: function() { return this.$store.getters.getEnableScreenshot }, @@ -289,7 +308,7 @@ export default defineComponent({ 'updatePlayNextVideo', 'updateEnableSubtitlesByDefault', 'updateProxyVideos', - 'updateDefaultTheatreMode', + 'updateDefaultViewingMode', 'updateDefaultSkipInterval', 'updateDefaultInterval', 'updateDefaultVolume', diff --git a/src/renderer/components/player-settings/player-settings.vue b/src/renderer/components/player-settings/player-settings.vue index 0c736a398c539..6b29a8d36f75d 100644 --- a/src/renderer/components/player-settings/player-settings.vue +++ b/src/renderer/components/player-settings/player-settings.vue @@ -18,12 +18,6 @@ :default-value="enableSubtitlesByDefault" @change="updateEnableSubtitlesByDefault" /> - + + + + + + - - - - -