Automatically Start YouTube Video Playback

Zachary asks, "Once I have inserted a YouTube video into myspace, is there any way to get it to play automatically? If so, how?"

In a previous article I talk about how to add a YouTube video to MySpace, without all the headaches caused by the MySpace blogging interface. Making a video start playing automatically requires one additional step, which requires modifying the code provided by YouTube for posting. This step will also work if you want to make a YouTube video automatically start playing on any other type of Web page, although the exact steps for adding video to a particular blogging engine vary.

The first part of adding a YouTube video to MySpace is to copy the embed code from the YouTube site.

YouTube embed code

After copying the code and logging into MySpace, go to your blog page on MySpace and click the link to post a new blog

MySpace blog post

Title your blog post by adding a subject, then click the link that says If you can't input your Blog, click here. This step prevents MySpace from messing with the YouTube Embed code, which solves a big headache about posting video on MySpace.

If you're using the Mac OS X browser Safari, you won't see this option, so you can skip this step.

MySpace error message

Paste the YouTube Embed code in the Body section of your blog post using either Ctrl+P or by right-clicking and choosing Paste from the menu. Delete everything before <embed and everything after </embed> You should keep only the equivalent of the highlighted text below:

Next you need to modify the video source URL in the code by adding &autoplay=1 to the end of the URL as show below:

Autoplay YouTube video

After you add the autoplay parameter, simply preview and post your latest entry to your MySpace blog.

You can see an example of this in action on the latest post on my own MySpace profile.

The one word of caution I suggest here is that if you frequently post YouTube videos to your MySpace blog and you add the autoplay parameter to all of them, when someone goes to your blog page ALL the videos you set autoplay=1 will start playing at the same time.


You may also want to make your YouTube video repeat.

Featured Resources

How to choose the right Identity Protection service.
Read our comparison of identity protection options to help you pick the best one for your family.

Master Home Movie Editing
Read a detailed guide on how to improve your home movies.

Instantly Fix Driver Problems
Find missing drivers on your XP or Vista PC.

Back up your iPod
iPod Access backs up your iPod music library and transfer songs to a new computer.

Convert Vinyl to MP3 or CD
Convert your Vinyl LPs and Cassettes to CD or MP3 using a simple software solution.

Subscribe for Free!

Your E-mail Address:

Ads