How to configure embedded YouTube videos

by Gert Mellak on January 14, 2009

Platforms like YouTube have made it as easy as pie to upload videos taken with your digital camera and then edit or cut them, add some background sound, links, texts, etc.

On numerous websites you can now see YouTube videos directly embedded using the provided HTML code you can copy and paste directly from the YouTube website.

However, there are a few things that make your website look crappy and even may lead your audience to a competitor’s website, like:

  • the top search box to find other videos
  • the list of related videos after yours has stopped
  • the player’s style that’s always the same on different websites
  • the videos don’t start automatically, your users have to click on the play button

In this post I’m going to show you some tricks in order to have your YouTube video look like coming from a professional streaming server (just the YouTube logo has to stay there, sorry ;-) ):

1. The Code

Usually, a video code from youtube looks like this:

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/8yut_7gxX8A"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/8yut_7gxX8A"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true"
width="425" height="344">
</embed>
</object>

2. autoplay

Many people don’t like it when they always have to click on the play button to see a video. If you would like a video to start right away when viewing the page, just add autoplay=1 to the video’s address (in the code above you would add it to the second line, so the address would be

<embed src="http://www.youtube.com/v/8yut_7gxX8A&autoplay=1

3. Start video at 00:15

I don’t want my users to have to watch the whole introduction to get the video’s message, so I add &start=15 to the URL to have the YouTube video start at second 15.

<embed src="http://www.youtube.com/v/8yut_7gxX8A&start=15

4. Turn off the related movies + search box

One really big disadvantage of using YouTube as a source for videos is that at the end YouTube usually shows related to videos that might have your users switch to another site. Thanks to a special parameter, you can switch this off and the video will stop with the last frame and a “replay” button. Just add &rel=0 to the address like here:

<embed src="http://www.youtube.com/v/8yut_7gxX8A&rel=0

Have you seen the search box YouTube integrated into videos? When moving your mouse cursor over some videos, a search box appears. Just imagine you’re using YouTube videos on your company’s site and people use the videos you publish to search for your competitor’s products!

Luckily, the &rel parameter also switches off the search box!

5. Set borders around your videos

Sometimes you might want to have your videos within borders. This can be achieved using the parameters &border, &color1 and &color2:

<embed src="http://www.youtube.com/v/8yut_7gxX8A&border=1&color1=0xffffff&color2=0x000000

Make sure you’re putting the color codes as hexadecimal codes, in the format 0xffffff for white, for example.

6. Putting it all together

Last but not least, you can use all these parameters together to integrate a video in decent way, with a suitable border, having the video start at a certain second and avoid distracting users with related videos at the end – check out this interview with Darren Rowse:

Do you know any other ways to tune embedded YouTube videos?

{ 9 comments }

Windows 7 Screenshots

by Gert Mellak on January 8, 2009

As you probably already know, Windows 7 BETA is available for tests. Here are some screenshots and benchmark results: Chip Online.

Apart from the faster installation there might be less differences to Windows Vista as many people still using XP and waiting for 7 expect.

{ 0 comments }

Blogging efficiency

by Gert Mellak on January 7, 2009

Blogging success is always directly related to having an awful lot of time. Well, the truth is, it doesn’t have to.

Yesterday I came across a great article on ProBlogger about how to grow your blog although you only have 1-2 hours a day to work on it.

The main idea is to set yourself a time limit each day, let’s say an hour or two, but at least half an hour. Then you assure you’re using this time as efficient as possible for the work on your blog, but also for establishing relations with other bloggers by commenting on their blog or working on your reputation in the social media field.

According to Leo Babauta of Zen Habits, these are the essential when it comes to blogging efficiency:

1. Writing outstanding articles

2. Linking, and link-bait

3. Guest posts

4. Commenting

5. Email and networking

And these are likely time killers that should be reduced to a minimum:

1. Blog stats and earnings

2. Ad networks

3. Blog design

4. Blog memes

5. Reading lots of other blogs

6. Plugins and widgets

7. Social media

Just in case you’re looking for a cool time logging application, check out mite!

How efficient is your blogging?

{ 0 comments }

How to write a wordpress plugin

by Gert Mellak on September 25, 2008

I’ve just found a great tutorial on how to write a wordpress plugin. If you’re interested, have a look at the following chapters:

  1. How to Write a WordPress Plugin – Introduction
  2. Seven Reasons to Write a WordPress Plugin
  3. How to Get Ideas for Wordpress Plugins
  4. Structure of a Wordpress Plugin
  5. WordPress Plugin Actions
  6. WordPress Plugin Filters
  7. Constructing a Wordpress Plugin Admin Panel
  8. Constructing a WordPress Plugin User’s Panel 
  9. WordPress Plugins and Database Interaction 
  10. Using JavaScript and CSS with your WordPress Plugin
  11. Using AJAX with your WordPress Plugin 
  12. Releasing and Promoting Your WordPress Plugin
Thank you very much to Ronald Huereca for publishing this series!

{ 1 comment }

Dojo Ajax Framework

by Gert Mellak on September 11, 2008

As I’ve spent some time having a look at the Dojo framework, I’ve come across a very good introduction at http://sitepen.com/labs/guides/?guide=DojoQuickStart - definitely a great point to start off!

{ 0 comments }

Why ranking #4 is not enough

by Gert Mellak on September 5, 2008

I have just seen an article on http://thinkeyetracking.com/wordpress/ about a study on where users look at on a Google results page. The fascinating information here is that during the 3 last years obviously users’ expectation towards Google got higher, so they now tend to look only at the first 3 (three!) results while in 2005 users still looked through the first page’s results. 

So what does this mean for SEOs? First it confirms what we all knew before but never wanted to acknowledge… just having your site on Google’s first results page (top 4-10) is great, but won’t necessarily boost your page views.

This change happened within 3 years… let’s say users’ expectation will get even higher until 2010 – Google might – according to users’ (chrome-) configuration – directly open the first page of the search results, since the other ones will be ignored anyway … this reminds me of an article I skimmed some time ago about the end of seo ;-) , don’t remember who it was from, I’ll post an update when I find the link again.

What do you think?

  1. Will the profession of SEOs die out?
  2. How can one compete with others about 1 single ranking position?
  3. What techniques might have the capacity to distinguish SEOs from oneanother?
  4. Are your clients satisfied with a number 4 ranking at the moment and think this will attract huge numbers of visitors?
  5. Do you think the eye-tracking experiment with 30 users is meaningful?
Let’s discuss this in the comment section, I’m curious about your opinions!

{ 0 comments }

Bienvenido, Google Chrome

by Gert Mellak on September 2, 2008

Welcome, Google Chrome. Today Google’s self-made browser Chrome was released. I didn’t have time yet to test it, as soon as I get round to have a closer look at it I will let you know more.

Check out this link for further details.

{ 0 comments }

Google Chrome raises tons of questions

by Gert Mellak on September 2, 2008

As you’ve most probably read in various blogs already, the browser Google Chrome is about to be released as a betaI these days. Whether this is a good idea or not, there are lots of questions about how this changes (and I’m sure it will change) the near future of the internet in terms of … let’s say, browsers competition, privacy and web design and development.

At technologizer you can read ten obvious questions related to a browser made by Google.

What do you think might happen?

{ 0 comments }

Cheat Sheets

by Gert Mellak on September 2, 2008

I’ve never told you, but I love cheat sheets. When I’m starting to have a closer look at certain topic I find frequently myself starting off searching for a related cheat sheet.

Since I’ve just come across a this link (thanks to Markus Walter) to a list of more than 1500 cheat sheets on all kinds of topics I thought maybe you’re interested .

For example, there you’ll find a list of google search parameters that might come in handy in case you’re not used to using them on a daily basis.

{ 0 comments }

5 quick reasons why A/B testing is crucial

by Gert Mellak on August 26, 2008

How many A/B tests a month are you running on your website? Well, Google is running 50-200 at any time! A/B-tests can help you

  1. identify your user’s preferences
  2. check whether your recent redesign had an influence on your ROI
  3. improve your web store’s checkout process after a thorough analytics funnel analysis
  4. find out whether rearranging your menu items increments visitor access to your pages
  5. get to know your users better

{ 0 comments }