Преглед на файлове

Change embeds to www.youtube-nocookie.com

Owen Diffey преди 4 години
родител
ревизия
8515d349d9
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      frontend/components/Modals/EditSong.vue
  2. 1 0
      frontend/components/Station/Station.vue

+ 1 - 0
frontend/components/Modals/EditSong.vue

@@ -1190,6 +1190,7 @@ export default {
 			height: 298,
 			width: 530,
 			videoId: this.editing.song.songId,
+			host: "https://www.youtube-nocookie.com",
 			playerVars: {
 				controls: 0,
 				iv_load_policy: 3,

+ 1 - 0
frontend/components/Station/Station.vue

@@ -536,6 +536,7 @@ export default {
 					height: 270,
 					width: 480,
 					videoId: this.currentSong.songId,
+					host: "https://www.youtube-nocookie.com",
 					startSeconds:
 						this.getTimeElapsed() / 1000 +
 						this.currentSong.skipDuration,