video playsInline

This commit is contained in:
Martti Malmi 2023-08-14 11:49:54 +03:00
parent 77efe74e0c
commit f7ea2e4431

View File

@ -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>