mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-09 20:24: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:
@@ -5,7 +5,7 @@
|
||||
class="relative max-h-screen w-full flex justify-center"
|
||||
: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
|
||||
id="preview-container"
|
||||
ref="previewContainer"
|
||||
|
Reference in New Issue
Block a user