WordPress.org

Support

Support » Miscellaneous » [Resolved] Video won't autoplay

[Resolved] Video won't autoplay

  • justlearninghelp
    Member

    @justlearninghelp

    I had a video posted on the home page that autoplayed when the page opened. This video rotates and therefore gets changed sometimes. New videos won;t auto play.

    Original video
    <iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/2oEWVsXHZVc?autoplay=1″ frameborder=”0″ allowfullscreen></iframe>

    New Video
    <iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/3KH-9qOePk4?list=PLWKbTlsNIef6F2RNMcXQFNuZNgS_Ys89O autoplay=1″ frameborder=”0″ allowfullscreen></iframe>

    I tried changing the “1” to “Y” “ON” but to no avail

    ANyone have any suggestions?

    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Clayton James
    Participant

    @claytonjames

    I think it’s just a minor syntax error after the playlist. Try this and see if it works.

    <iframe width="560" height="315" src="//www.youtube.com/embed/3KH-9qOePk4?list=PLWKbTlsNIef6F2RNMcXQFNuZNgS_Ys89O&autoplay=1" frameborder="0" allowfullscreen></iframe>

    Note the ampersand before the autoplay parameter…

    list=PLWKbTlsNIef6F2RNMcXQFNuZNgS_Ys89O&autoplay=1″

    justlearninghelp
    Member

    @justlearninghelp

    Thank you so much!
    Worked like a charm- I really appreciate it!

    Clayton James
    Participant

    @claytonjames

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Video won't autoplay’ is closed to new replies.