3

How can I play YouTube videos on a Raspberry Pi?

I tried to play in the chromium browser, but it doesn't work there.

  • 1
    The chromium browser needs to be the later version 45-ish one AND the RPi should be a quad-core RPi 2. The version that once worked for the single-core RPi was 23 (I think) and I suspect YouTube have changed their formats enough to stop it working (I expect, but do not know) – SlySven Jan 7 '16 at 3:39
  • What version do you have? My chromium works perfectly fine with youtube. – David C. Jan 18 '16 at 16:18
2

The easiest method I can think of is using Kodi. This should work to a reasonable degree on lower end Pi's.

  1. Install Kodi using 'sudo apt-get install kodi'
  2. Go to System -> Settings
  3. Go to Add-ons
  4. Select 'Install from repository'
  5. Select 'Kodi Add-on repository
  6. Select 'Video add-ons'
  7. Select 'Youtube'
  8. Set up language and region
  9. To launch the add-on, go to the home screen and select 'Videos -> Add-ons -> YouTube'
| improve this answer | |
1

I don't know about Chromium, but YouTube videos should work under Epiphany and Ice-Weasel. On the RPi, you'll want to view the videos under HTML5. Use YouTube's HTML5 compatibility checker to make sure it's supported in your desired browser.

| improve this answer | |
0

I suggest using Minimal Kiosk Browser ("kweb" and "kweb3") .

It has extra helper scripts to play youtube in 1080@30 fps , which sets it apart from all browsers which use gstreamer on the Pi Zero or on RPi1 models.

It also includes a GUI for omxplayer , which is very useful.

It is a bit unorthodox and highly customizable , so don't forget to read the manual !

| improve this answer | |
0

I had the same issue on raspberry pi2. Chromium was playing the video but it was black and white and messy.(ubuntu-mate)

Solution :

Update your Mozilla Firefox browser :https://support.mozilla.org/en-US/kb/update-firefox-latest-version

I can play at 144/240/360 but it's still lags between audio and video.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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