Remove the YouTube Search Bar

I was going through my embedded videos manually changing the code when I said to myself, “I bet there’s an easier way” So I emailed a programming buddy of mine,and asked how much effort it would take to write a script to add the code to remove the search bar. I included a link to my earlier post about the tweak I learned from Jason Moffat.

I expected an email telling me how much time it would take and what it would cost. He emailed the script and told me not to worry about it. So I put up a site where anyone who wants to use the script can use it and if you would like a copy simply sign up and I’ll email it to you.

The script is live at Remove the Search Bar

YouTube Tweak complements of Jason Moffat

Important YouTube tweak that I learned from Jason Moffat. http://www.ProfitMoffat.com

By default YouTube adds a search bar to your videos when you mouse over the top of the embedded video.Now the last thing I want is for people to leave my page after viewing my video, so I assume that you’re the same. Here’s what you do:

Grab your embed code:

<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/U7OPY9Xr1GM&hl=en&fs=1″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/U7OPY9Xr1GM&hl=en&fs=1″ type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>

This is how it looks with the search bar

Then you need to add this code:

&showsearch=0

Where I’ve added it before the end quote

<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/U7OPY9Xr1GM&hl=en&fs=1&showsearch=0“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/U7OPY9Xr1GM&hl=en&fs=1&showsearch=0” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>

And you will get it without the search bar