소스 검색

fix: ViewYoutubeVideo video wouldn't load when opening modal

Kristian Vos 2 년 전
부모
커밋
f44d5d393c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,