I have used iframe with video autoplay stop. But it is always in autoplay mode. I do not want to autoplay. I want to stop autoplay.
My code is below:
<iframe width="245" height="190" frameborder="0"
src="Pacers_VS_Lakers_with_LifeWave_Energy_Patches.mp4?autoplay=0&cc_load_policy=1">
</iframe>
Just use the video
tag instead of iframe
:
<video height="100" width="100">
<source src="some_video_url">
</video>
It will not autoplay itself. It's actually a better option instead of an iframe tag.
The video
HTML tag has specific options, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Video#attributes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With