I installed chromium-browser on the Raspberry Pi. However now when I make a webpage with this:

<video width="860" height="480" controls>
    <source src="vid.mp4" type="video/mp4" ></source>
    <source src="vid.webm" type="video/webm" ></source>
    <p> Your browser does not support the HTML5 video feature. </p>

But the browser does not support either of these formats. I found chromium-codecs-ffmpeg-extra with apt-get but it is only for Ubuntu. Is there something that would work with Raspbian? Or some other way to get a video in a webpage? I am building the webpage, so the formats and other server side stuff can be changed too.

  • Does your web page work on another machine (e.g. using Chrome?)
    – Julian
    Commented Jan 6, 2013 at 0:35
  • yes on windows and mac it works. That is using chrome though. On the pi it is using chromium
    – Scoop
    Commented Jan 6, 2013 at 0:40
  • That's good. You need to look on the raspian specific repositories. If you have both raspian.org and raspberrypi.org repositories in you /etc/apt/sources.list or /etc/apt/sources.d and can't find it then you will have to compile them yourself or get someone else to.
    – Julian
    Commented Jan 6, 2013 at 11:16
  • This now works.
    – 17xande
    Commented Oct 30, 2018 at 13:43

2 Answers 2


Midori version 0.4 has HTML5 'Video tag, h.264 and WebM' compliance.

Also some web pages require Java so also install IcedTea7


there is a relatively new browser, still in beta, that works well with html5, is can be downloaded here it is simply called "web" I think.. but the executable looks like:


it is still a little unfinished.. and undocumented, but for basic browsing it works well (tested in rasbian).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.