Explorar el Código

fix: ViewYoutubeVideo video wouldn't load when opening modal

Kristian Vos hace 2 años
padre
commit
f44d5d393c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,