LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   How to play youtube in Qupzilla web browser (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/how-to-play-youtube-in-qupzilla-web-browser-4175610765/)

aus9 07-27-2017 07:29 PM

How to play youtube in Qupzilla web browser
 
Hi

Qupzilla is a web browser that can run on normal Xorg distros and also on Wayland.

when you first go to youtube it will complain it is not supported.

We trick it with an user agent string from the known list of supported browsers like this


step one
########

research the current version of Chrome for linux
https://en.wikipedia.org/wiki/Google...ersion_history

copy and paste that version, into a text editor

at time of writing it was

59.0.3071

step two
########

copy and paste this generic string into same text editor

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/

then cut and paste your research chrome version after the Chrome bit

so at time of writing it will be

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071

suggest you save that text file so you can change it at a later date.

step three
#########

copy that new modified string into your clipboard

step four
#########

in web browser, click Edit -> Preferences -> Other

Under "Change Browser identification"
click the button for User Agent Manager

click the radio button to Global user agent (that is my suggestion)

delete the current line

paste the string you saved into the empty line

click OK

step five
#########
Go to youtube.com

You should see a message that you are good to go

http://imgur.com/a/ODs3H

test and see if sound and video are OK

jefro 07-27-2017 07:41 PM

More ideas in case above won't fully solve.
https://forum.manjaro.org/t/solved-q...lay-video/2525

aus9 07-27-2017 10:29 PM

more ideas on top of jefro's

youtube now is mainly html5 so go to the test page
https://www.youtube.com/html5

YT works for me with results ticked and other missing
HTMLVideoElement
H.264
WebM VP8

and that test pages says
Quote:

Many browsers support both the video element in HTML5 and either the H.264 video codec or the WebM format.
2) the FF url of about:config does now work for us instead you have to use
qupzilla:config

and here is my result excluding the layout stuff

http://imgur.com/a/KoYax (main info)
http://imgur.com/a/D3pPa (extensions)

aus9 07-27-2017 11:07 PM

ahh there is a FAQ on jefro's post
https://github.com/QupZilla/qupzilla...-video-support

the only thing I am not sure about is gstreamer appears to solve all but 264 codec
and that appears to be for debian/ubuntu types a search for x264

Code:

dpkg -l | grep 264
ii  libx264-148:amd64                              2:0.148.2643+git5c65704-1                  amd64        x264 video coding library



All times are GMT -5. The time now is 04:19 PM.