dont autoplay
This commit is contained in:
parent
bb91c1ebc2
commit
b7e5eac803
|
|
@ -29,7 +29,7 @@ md.renderer.rules.image = (tokens, idx, options, env, self) => {
|
|||
const formattedSrc = `/posts/${postName}/${src}`;
|
||||
|
||||
if (src.endsWith(".mp4") || src.endsWith(".mov")) {
|
||||
return `<video controls loop autoplay>
|
||||
return `<video controls loop>
|
||||
<source src="${formattedSrc}" type="video/mp4">
|
||||
</video>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue