diff --git a/client/components/Settings.vue b/client/components/Settings.vue index d6a44c316..8162f6971 100644 --- a/client/components/Settings.vue +++ b/client/components/Settings.vue @@ -195,6 +195,14 @@ const videoQualities = ['144p', '240p', '360p', '720p', '1080p', '1440p', '2160p :right="true" @valuechange="val => settingsStore.setRewriteYouTubeURLs(val)" /> +

Videoplayer

diff --git a/client/pages/watch.vue b/client/pages/watch.vue index 3d8fd4c6d..23860dd03 100644 --- a/client/pages/watch.vue +++ b/client/pages/watch.vue @@ -238,7 +238,8 @@ watch( if (newValue.v !== oldValue.v || newValue.list !== oldValue.list) { refresh(); const videoId = newValue.v as string; - loadComments(videoId); + if (!settingsStore.hideComments) + loadComments(videoId); } } ); @@ -249,7 +250,8 @@ onMounted(() => { if (window && window.innerWidth > 700) { recommendedOpen.value = true; } - loadComments(); + if (!settingsStore.hideComments) + loadComments(); loadDislikes(); loadPlaylist(); }); @@ -426,7 +428,7 @@ const watchPageTitle = computed(() => {
-
+