How to Customize an Embedded YouTube Video

Customizing YouTube Video Embed Code

There are several options for modifying the YouTube video on your page or post. Here is a sample of the code (which is a great video from Youtube that shows you how to upload videos):

<object width="480" height="385"><param name="movie" value=""></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

While logged into your YouTube account, you can modify the look and size of your video using the basic video embed options shown below the video (size and colors).  Then if necessary, you can change the width and height (in pixels) manually in the embed code shown above.

Advanced Embed Code Options

For the following changes, simple add the following code to the end of the “value=” string:

Turn off Title and Ratings:  &showinfo=0

Turn off Search: &showsearch=0

Turn off Annotations: &iv_load_policy=3

Turn on Autoplay: &autoplay=1

Turn on Autoloop: &loop=1

Turn off Related Video’s at the end of the video:  &rel=0

Disable FullScreen: change &fs=1 to &fs=0

Disable Keyboard Controls: &disablekb=1

Keyboard controls:

  • Spacebar: Play – Pause
  • Left Arrow : Move back 10% in the video
  • Right Arrow : Move ahead 10% in the video
  • Up Arrow : Volume up
  • Down Arrow : Volume Down

Enable Enhanced Genie Menu: &egm=1

Adding a Border: &border=1

Setting a Border Color: &color1=(hexidecimal value) see:

Setting a Border Color to Video Control Bar Background: &color2=(hexidecimal value)

Force Closed-Captions: &cc_load_policy=1

Create Custom Start and End points of a Video: &start=10&end=60 (replace 10 and 60 with your choice – in seconds)

Happy Video Blogging!

Leave a Reply