fix: plyr will now work on all videos of a lesson

This commit is contained in:
Jannat Patel
2025-05-14 17:12:20 +05:30
parent 7c7f063204
commit 77b1a546e8
2 changed files with 23 additions and 21 deletions

View File

@@ -334,7 +334,6 @@ const props = defineProps({
onMounted(() => {
startTimer()
enablePlyr()
document.addEventListener('fullscreenchange', attachFullscreenEvent)
})
@@ -473,6 +472,7 @@ watch(
() => lesson.data,
(data) => {
setupLesson(data)
enablePlyr()
}
)