Merge pull request #4043 from Spendable1569/ios-dash-player

Add iOS MSE support and playsinline
This commit is contained in:
Kavin 2025-06-15 19:30:40 +05:30 committed by GitHub
commit 09e2859c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,14 @@
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"
@ -318,7 +325,7 @@ export default {
streams.push(...this.video.audioStreams);
streams.push(...this.video.videoStreams);
const MseSupport = window.MediaSource !== undefined;
const MseSupport = window.MediaSource !== undefined || window.ManagedMediaSource !== undefined;
const lbry = null;