Merge pull request #2209 from EscherMoore/fix-hotkeys

Fix: hotkeys not working
This commit is contained in:
Bnyro
2023-03-16 15:43:37 +01:00
committed by GitHub

View File

@@ -17,6 +17,7 @@
<div v-show="!video.error"> <div v-show="!video.error">
<div :class="isMobile ? 'flex-col' : 'flex'"> <div :class="isMobile ? 'flex-col' : 'flex'">
<keep-alive>
<VideoPlayer <VideoPlayer
ref="videoPlayer" ref="videoPlayer"
:video="video" :video="video"
@@ -27,6 +28,7 @@
:selected-auto-loop="selectedAutoLoop" :selected-auto-loop="selectedAutoLoop"
@timeupdate="onTimeUpdate" @timeupdate="onTimeUpdate"
/> />
</keep-alive>
<ChaptersBar <ChaptersBar
:mobileLayout="isMobile" :mobileLayout="isMobile"
v-if="video?.chapters?.length > 0 && showChapters" v-if="video?.chapters?.length > 0 && showChapters"