mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
feat: add playsinline attribute to video elements for improved mobile playback
This commit is contained in:
1 parent
f07e51c071
commit
7a4b429672
1 file changed
+2
@@ -311,6 +311,7 @@
|
|||||||
controls
|
controls
|
||||||
loop
|
loop
|
||||||
muted
|
muted
|
||||||
|
playsinline
|
||||||
preload="auto"
|
preload="auto"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
@@ -324,6 +325,7 @@
|
|||||||
id="resultVideoOriginal"
|
id="resultVideoOriginal"
|
||||||
class="comparison-img original absolute inset-0 w-full h-full bg-slate-900 object-contain"
|
class="comparison-img original absolute inset-0 w-full h-full bg-slate-900 object-contain"
|
||||||
loop
|
loop
|
||||||
|
playsinline
|
||||||
preload="auto"
|
preload="auto"
|
||||||
>
|
>
|
||||||
<source
|
<source
|
||||||
|
|||||||
Reference in new issue
Block a user