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
commit 9421983287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"