Ver Fonte

fix: ViewYoutubeVideo video wouldn't load when opening modal

Kristian Vos há 2 anos atrás
pai
commit
f44d5d393c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      frontend/src/components/modals/ViewYoutubeVideo.vue

+ 1 - 1
frontend/src/components/modals/ViewYoutubeVideo.vue

@@ -296,7 +296,7 @@ onMounted(() => {
 						{
 							height: 298,
 							width: 530,
-							videoId: null,
+							videoId: youtubeId.value,
 							host: "https://www.youtube-nocookie.com",
 							playerVars: {
 								controls: 0,