Merge pull request #393 from BytewaveMLP/disable-firefix-pip

Disable Picture-in-Picture prompt on video thumbnails on Firefox
This commit is contained in:
liamwhite 2025-01-01 17:08:54 -05:00 committed by GitHub
commit 9557d666d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@
- {:video, webm, mp4, hover_text} ->
.media-box__overlay.js-spoiler-info-overlay
a href=link title=hover_text
video alt=hover_text autoplay="autoplay" muted="muted" loop="loop" playsinline="playsinline"
video alt=hover_text autoplay="autoplay" muted="muted" loop="loop" playsinline="playsinline" disablepictureinpicture="disablepictureinpicture"
source src=webm type="video/webm"
source src=mp4 type="video/mp4"
img alt=hover_text
@ -50,7 +50,7 @@
- {:filtered_video, hover_text} ->
.media-box__overlay.js-spoiler-info-overlay
a href=link title=hover_text
video autoplay="autoplay" muted="muted" loop="loop" playsinline="playsinline"
video autoplay="autoplay" muted="muted" loop="loop" playsinline="playsinline" disablepictureinpicture="disablepictureinpicture"
img alt=hover_text
- :not_rendered ->