Fix hotkeys not working

This commit is contained in:
EscherMoore 2023-03-15 19:46:36 -04:00
parent c4bf2fec6e
commit b51af7d798

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"