diff --git a/frontend/src/components/VideoBlock.vue b/frontend/src/components/VideoBlock.vue index 889968eb..0465a1d3 100644 --- a/frontend/src/components/VideoBlock.vue +++ b/frontend/src/components/VideoBlock.vue @@ -64,15 +64,28 @@ - + +
+ + +
+
+
+
+ {{ formatSeconds(currentTime) }} / {{ formatSeconds(duration) }} @@ -288,6 +301,13 @@ const toggleFullscreen = () => { videoContainer.value.requestFullscreen() } } + +const getQuizMarkerStyle = (time) => { + const percentage = ((time - 5) / Math.ceil(duration.value)) * 100 + return { + left: `${percentage}%`, + } +}