mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -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
|
||||
loop
|
||||
muted
|
||||
playsinline
|
||||
preload="auto"
|
||||
>
|
||||
<source
|
||||
@@ -324,6 +325,7 @@
|
||||
id="resultVideoOriginal"
|
||||
class="comparison-img original absolute inset-0 w-full h-full bg-slate-900 object-contain"
|
||||
loop
|
||||
playsinline
|
||||
preload="auto"
|
||||
>
|
||||
<source
|
||||
|
||||
Reference in new issue
Block a user