LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2015, 06:12 AM   #1
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
Can't select Youtube HTML5 page.


I'm using a Debian distro with Iceweasel browser and Noscript add-on.
I don't have Adobe Flash, so every time I want to watch Youtube I go to the Youtube html5 page, select html5 player, and then I can watch the videos.

But just today, the html5 page is not accepting my selection for the html5 player.https://www.youtube.com/html5
The page just keeps reloading to the top.
I've looked to see if there are any Noscript blocks - but there aren't any.

Does anyone know why this problem has suddenly occurred? Thank you.
 
Old 02-10-2015, 06:22 AM   #2
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
Do you block cookies? This setting is saved in a cookie.

If you cannot solve the immediate problem - youtube defaults to HTML5 for recent browsers since some weeks ago. "Recent" means "Version 36" in case of firefox, iceweasel and co. You could trick youtube into thinking you have firefox 36 by overriding your user agent string: Edit or create a string value "general.useragent.override" in about:config with the following content:

Code:
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Replace "x86_64" by "x86" if you have a 32bit system.

This will be global, for all sites. Recommended, but requires firefox addon: Do it site-specific, only for youtube, for example with the addon "UAControl".

There is no guarantee that youtube works correctly, because it might expect some modern functions from the browser it does not have, or behaves buggy.

Last edited by cepheus11; 02-10-2015 at 06:24 AM.
 
1 members found this post helpful.
Old 02-10-2015, 06:38 AM   #3
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by cepheus11 View Post
Do you block cookies? This setting is saved in a cookie.

If you cannot solve the immediate problem - youtube defaults to HTML5 for recent browsers since some weeks ago. "Recent" means "Version 36" in case of firefox, iceweasel and co. You could trick youtube into thinking you have firefox 36 by overriding your user agent string: Edit or create a string value "general.useragent.override" in about:config with the following content:

Code:
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Replace "x86_64" by "x86" if you have a 32bit system.

This will be global, for all sites. Recommended, but requires firefox addon: Do it site-specific, only for youtube, for example with the addon "UAControl".

There is no guarantee that youtube works correctly, because it might expect some modern functions from the browser it does not have, or behaves buggy.
I had cookies blocked.
I allowed cookies on the browser Preferences and set Noscript to allow googlevideo - and it worked!
Thank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No sound in HTML5(and HTML5 on Youtube) Hoff123 Linux - General 3 09-19-2020 07:46 AM
YouTube now defaults to HTML5 <video> JWJones Linux - General 7 01-29-2015 08:51 PM
LXer: YouTube dumps Flash for HTML5 LXer Syndicated Linux News 0 01-28-2015 05:20 PM
Youtube, Debian and HTML5 Amarildo Linux - Software 9 09-07-2014 04:11 PM
YouTube HTML5 beta: how does it work? hydraMax General 5 01-12-2012 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration