fix: lesson youtube video issue

This commit is contained in:
Jannat Patel
2024-04-15 12:35:27 +05:30
parent a62b754d28
commit 16570469e6
4 changed files with 25 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<div v-if="youtube">
<iframe
class="youtube-video"
:src="getYouTubeVideoSource(youtube)"
:src="getYouTubeVideoSource(youtube.split('/').pop())"
width="100%"
height="400"
frameborder="0"
@@ -54,6 +54,7 @@
</div>
<div v-else v-html="markdown.render(block)"></div>
</div>
{{ quizId }}
<div v-if="quizId">
<Quiz :quiz="quizId" />
</div>