Issue with Video controls/playing


so If you add a video like the following,

<iframe  title="Video " width="480" height="390" src=" to site/video.mp4" frameborder="0" allowfullscreen autoplay=false ></iframe>

The video regardless of what you change will not disable autoplay/autostat. Tried both boolean and values for this as well as switching autoplay/autostart.

I then tried the following,

<video controls width="560" height="315" >
<source src=" to site/video.mp4" type="video/mp4">

However The video controls wont load and it hangs for a while unless you click like mad on it then it springs to life.

Any ideas ?

No idea.

Your code is not visible because you didn’t wrap it inside a code block.

Also this doesn’t seem Hugo related.

But again half your post is missing.

@Kaicastledine indent code with 4 spaces of wrap it in ```

1 Like

Ah sorry new to this site.

Think we also edited at the same time lol.

Can everyone see it now ?

Well the site is setup with hugo so was trying to get some help with the iframe or code to try resolve it.

No idea why it’s causing it but thought it would be a good place to ask.

Anyone got any suggestions about the Iframe options as that works fine and controls come straight up just need to stop the autoplay.