Chromium and the HTML5 video (Youtube)

If you are like me and are using chromium (dev channel) instead of chrome you may have noticed that playing HTML5 video from youtube or others is not working. That is because the default chromium ships with free codecs only. So to fix this problem do the following.

With your chromium try to watch this movie:

If you are not able to play it do this, install the non free codec provided by chromium:

sudo aptitude install chromium-codecs-ffmpeg-nonfree

Now restart chromium and you are off. Does it work now?