mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 06:03:22 +00:00
video playsInline
This commit is contained in:
parent
77efe74e0c
commit
f7ea2e4431
@ -1,5 +1,3 @@
|
|||||||
import Helpers from '@/Helpers.tsx';
|
|
||||||
|
|
||||||
import Embed from './index';
|
import Embed from './index';
|
||||||
|
|
||||||
const Video: Embed = {
|
const Video: Embed = {
|
||||||
@ -12,7 +10,8 @@ const Video: Embed = {
|
|||||||
src={match}
|
src={match}
|
||||||
controls
|
controls
|
||||||
muted
|
muted
|
||||||
autoPlay={!Helpers.isMobile}
|
autoPlay
|
||||||
|
playsInline
|
||||||
loop
|
loop
|
||||||
poster={`https://imgproxy.iris.to/thumbnail/638/${match}`}
|
poster={`https://imgproxy.iris.to/thumbnail/638/${match}`}
|
||||||
></video>
|
></video>
|
||||||
|
Loading…
Reference in New Issue
Block a user