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,16 +17,18 @@
<div v-show="!video.error"> <div v-show="!video.error">
<div :class="isMobile ? 'flex-col' : 'flex'"> <div :class="isMobile ? 'flex-col' : 'flex'">
<VideoPlayer <keep-alive>
ref="videoPlayer" <VideoPlayer
:video="video" ref="videoPlayer"
:sponsors="sponsors" :video="video"
:playlist="playlist" :sponsors="sponsors"
:index="index" :playlist="playlist"
:selected-auto-play="selectedAutoPlay" :index="index"
:selected-auto-loop="selectedAutoLoop" :selected-auto-play="selectedAutoPlay"
@timeupdate="onTimeUpdate" :selected-auto-loop="selectedAutoLoop"
/> @timeupdate="onTimeUpdate"
/>
</keep-alive>
<ChaptersBar <ChaptersBar
:mobileLayout="isMobile" :mobileLayout="isMobile"
v-if="video?.chapters?.length > 0 && showChapters" v-if="video?.chapters?.length > 0 && showChapters"