Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

YouTube Video doesn't play

Please look at https://www.ajantico.com/movie_w_responsive.htm. A video is supposed to play when the page loads. I took the previous YouTube video & tried to open it directly in YouTube, it said not found. So I created a new one.

Here is the div    <div class="video-container">
      <iframe width="600" height="450" src="http://www.youtube.com/embed/0M3ICoNPbak" allowfullscreen frameborder="0"></iframe>
</div>

Please look at https://youtu.be/0M3ICoNPbak. You will see it play.

What do I have to do to make it ply when the page opens? I used to have "?autoplay=1" or something like that. Is that what is missing?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Alexandre Simões
Alexandre Simões
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Korts

ASKER

OK, I did that & it did NOT work. Then I noticed that you had https, I had http, changed that, it worked.
Ah, I also had that problem but I forgot to mention, sorry.
That error you could have seen it in the console. It's reported there in red.

You can see it in my example if you remove the https.

Glad it works now mate,
Alex