Forums

How do I autoplay a YouTube video on my WordPress page? (1 post)

  1. kellych
    Member
    Posted 1 year ago #

    Hi there -

    How do I autoplay a YouTube video on a page within my WordPress site?

    Everything I have found on the web says to add "&autoplay=1" at the end of the YouTube url within the HTML code. However, when I do this, nothing happens.

    This is what I have in the code now:
    [youtube]http://www.youtube.com/watch?v=u-Y2BdfiYSY&autoplay=1[/youtube]

    I added this using the standard YouTube upload capability on the WordPress toolbar and then going into the code to add the &autoplay=1. However, it's still not autoplaying.

    I have also downloaded the Pro Player plug-in. This allows me to autoplay but I don't like that they add a large boarder with their odd orange logo in it.

    I also tried using the YouTube 'embed' code instead (and also added the &autoplay=1 to this) and still no luck. It appears as though YouTube's embed code has been recently updated.

    I'm looking for either a coding suggestion or a plugin that will allow me to easily have YouTube videos autoplay on my pages.

    Thank you for any help you can lend!

Topic Closed

This topic has been closed to new replies.

About this Topic