Disable right-click on video

This commit is contained in:
Noah 2024-10-04 22:23:22 -07:00
parent 9e7466f967
commit 89ae43b78a

View File

@ -103,7 +103,13 @@ export default {
'popped-out': poppedOut, 'popped-out': poppedOut,
'popped-in': !poppedOut, 'popped-in': !poppedOut,
}" @mouseover="mouseOver = true" @mouseleave="mouseOver = false"> }" @mouseover="mouseOver = true" @mouseleave="mouseOver = false">
<video class="feed" :id="videoID" autoplay disablepictureinpicture :muted="localVideo" playsinline></video> <video class="feed"
:id="videoID"
autoplay
disablepictureinpicture
playsinline
oncontextmenu="return false;"
:muted="localVideo"></video>
<!-- Watermark layer --> <!-- Watermark layer -->
<div v-if="watermarkImage"> <div v-if="watermarkImage">