dont autoplay

This commit is contained in:
Orion Reed 2024-07-08 15:26:11 +01:00
parent bb91c1ebc2
commit b7e5eac803
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ md.renderer.rules.image = (tokens, idx, options, env, self) => {
const formattedSrc = `/posts/${postName}/${src}`; const formattedSrc = `/posts/${postName}/${src}`;
if (src.endsWith(".mp4") || src.endsWith(".mov")) { if (src.endsWith(".mp4") || src.endsWith(".mov")) {
return `<video controls loop autoplay> return `<video controls loop>
<source src="${formattedSrc}" type="video/mp4"> <source src="${formattedSrc}" type="video/mp4">
</video>`; </video>`;
} }