an open web media project
The latest news and updates from the WebM project

Easy Tricks for Finding WebM Videos in YouTube

Monday, August 9, 2010 | 3:40 PM

Since the WebM project launch, YouTube has been encoding videos uploaded at 720p or higher resolution in the WebM format. Today, the one million most popular videos of any size on YouTube are also available in the WebM format.

We have instructions on our project site for finding these videos but they require adding a special parameter onto the end of each search query. All of the browsers that support WebM can create search shortcuts with custom parameters, however, so we've compiled instructions for making it very simple to search for WebM videos in YouTube.

Important: First, make sure you have a supported browser and are enrolled in the YouTube HTML5 beta by going to http://youtube.com/html5 and clicking Enter the HTML5 Beta.

Creating a WebM Search Shortcut

Firefox 4 Beta:

  1. Select Bookmarks > Organize Bookmarks. A bookmark manager dialog opens.
  2. In the left column, choose a location for the new bookmark you’re creating. Next, choose Organize > New Bookmark (on MacOS click the gear icon). The new bookmark dialog opens.
  3. In the Name box, type WebM.
  4. In the Location box, type http://youtube.com/results?search_query=%s&webm=1.
  5. In the Keyword box, type webm.
  6. Click Add.
Google Chrome Early Release Channel:
  1. On Windows and Linux, click the Chrome wrench icon in the toolbar and select Options. On MacOS, select Chrome > Preferences.
  2. On the Basics tab, click the Manage button in the Default Search section.
  3. On Windows and Linux, click Add. On MacOS X, click the plus (+) button.
  4. In the Name box, type WebM.
  5. In the Keyword box, type webm.
  6. In the URL box, type http://youtube.com/results?search_query=%s&webm=1.
  7. Click OK.
Opera 10.60 and later:
  1. Go to http://youtube.com.
  2. Right-click in the YouTube search box at the top of the page and select Create Search. On MacOS, use Ctrl+click if you don’t a secondary mouse button enabled.
  3. In the Name box, type WebM.
  4. In the Keyword box, type webm.
  5. In the Address box, type http://youtube.com/results?search_query=%s&webm=1.
  6. Click OK.


Now you’re ready to search. In the location box of the browser, type webm monster trucks. The YouTube search results page will open with a selection of monster truck videos encoded in the WebM format. When watching a video, look for the HTML5 WebM indicator in the player control bar.

If you can’t find WebM videos it is most likely a browser cookie problem. Your enrollment in the YouTube HTML5 beta test is stored in a browser cookie (not in your YouTube or Google account), and that cookie can expire. Visit http://youtube.com/html5 and opt-in again to re-set the cookie.

Directly Accessing WebM Videos by URL

To find out if any YouTube video is available in WebM, simply add &html5=True (make sure True is capitalized) to the end of the video URL. If there is a WebM version of the video, it will open instead of the Flash version. For example:
  • Flash version: http://www.youtube.com/watch?v=Dz6gFokvOr0
  • WebM version: http://www.youtube.com/watch?v=Dz6gFokvOr0&html5=True


7 comments:

M said...

Why make users sign up for the WebM beta? Why not just default to it and fall back to flash if it fails?

Nintendo Maniac 64 said...

Because it's a, oh I dunno... BETA?

Besides, currently most browsers don't have any sort of hardware acceleration for video playback (I mean the more basic stuff, not dedicated hardware decoders), which results in even flash player out-performing HTML5 video most of the time.

It's also the same reason why media player apps play so much faster - they have things like the overlay renderer.

marinos35 said...

There is also the option to add it as a search engine
http://mycroft.mozdev.org/search-engines.html?name=youtube+webm&opensearch=yes

There you can find two search engines for that purpose. The first one, created by me, takes you to http://youtube.com/html5 if you search with nothing typed at the box, but if it has a query it searches only for webm videos with &webm=1 at the end of the link. ;)

Erfan said...

all we need a simple coded that everyone wants to use it. I think everyone should use H264 and get over it.

we don't need VP8, OGG theora flash etc...

please someone make HTML5 work already :'(

www.fellowgeek.com

Nintendo Maniac 64 said...

Unfortunately our stupid patent system in the US means we will legally have to pay money to use h.264 - that's NO GOOD. Do you pay for PNG use, or ya know, HTML use? Didn't think so.

Conrad Ho said...

"YouTube has been encoding videos uploaded at 720p or higher resolution in the WebM format"

However, following the article cannot find any videos that are (1) in webm format (NOT h264/mp4) and (2) resolution larger than 1280x720.

Where are webm Youtube video larger than 720p??

John Luther said...

Sorry, Conrad, this is a bit unclear. All incoming videos 720p and larger are converted to WebM but normalized to 720p resolution. So, for example, if someone uploads a 1080p video it is encoded in WebM at 720p and 360p.