mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-05-02 12:41:09 +00:00
Add playsinline attribute to video tag
This fixes #3734 by adding the playsinline attribute to the video tag in VideoPlayer.vue. This attribute is required for iOS devices to play videos inline instead of going into fullscreen mode by default.
This commit is contained in:
parent
14c857ae08
commit
4e8b0edaa5
@ -5,7 +5,7 @@
|
|||||||
class="relative max-h-screen w-full flex justify-center"
|
class="relative max-h-screen w-full flex justify-center"
|
||||||
:class="{ 'player-container': !isEmbed }"
|
:class="{ 'player-container': !isEmbed }"
|
||||||
>
|
>
|
||||||
<video ref="videoEl" class="w-full" data-shaka-player :autoplay="shouldAutoPlay" :loop="selectedAutoLoop" />
|
<video ref="videoEl" class="w-full" data-shaka-player :autoplay="shouldAutoPlay" :loop="selectedAutoLoop" playsinline />
|
||||||
<span
|
<span
|
||||||
id="preview-container"
|
id="preview-container"
|
||||||
ref="previewContainer"
|
ref="previewContainer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user