0
votes

I want to embed a youtube video with autoplay ( the video start when you open the page ) and controls suppressed.

i tried :

I also changed the 'iframe' to 'embed', but it doesn't work.

1
what i tried is: <iframe width="420" height="315" src="youtube.com/embed/…" allow="autoplay" frameborder="0" allowfullscreen></iframe>salomon bengio

1 Answers

0
votes
<video autoplay="">
            <source src="yourvideo.mp4" type="video/mp4">
            Your browser does not support the element<code>video</code>
          </video>

dont worry about this message "Your browser does not support the element"

i have that code in my web and its working