mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 10:05:19 +00:00
auto play video
This commit is contained in:
parent
51b44eb258
commit
383961d467
@ -46,7 +46,7 @@ export function VideoAsset({ topicId, asset }: { topicId: string, asset: MediaAs
|
||||
</div>
|
||||
{ state.dataUrl && (
|
||||
<div className={classes.video} style={{ width, height }}>
|
||||
<video className={classes.image} controls width={width} height={height} src={state.dataUrl} playsInline={true} />
|
||||
<video className={classes.image} controls width={width} height={height} src={state.dataUrl} playsInline={true} autoPlay={true} />
|
||||
</div>
|
||||
)}
|
||||
{ state.loading && state.loadPercent > 0 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user