Reputation: 336
Here is my code, but the video is not looping continuously.
<iframe src="files/media/video/moped.webm?&autoplay=1&loop=1&title=0&byline=0&portrait=0" width="400" height="height: 722.375px;" frameborder="0" ></iframe>
I have tried to set autoplay
to 0
and 1
, but this has not changed anything.
Upvotes: 0
Views: 156
Reputation: 133360
try using
?rel=0;&autoplay=1
and be careful with a proper value for heigth
<iframe src="files/media/video/moped.webm??rel=0;&autoplay=1&loop=1&
title=0&byline=0&portrait=0"
width="400" height="722" frameborder="0" ></iframe>
Upvotes: 0
Reputation:
You can use the <video>
element instead:
<video width="100%" height="100%" autoplay loop>
<source src="files/media/video/moped.webm" type="video/webm" />
Your browser does not support the video tag.
</video>
Upvotes: 1