Mobile Youtube
grey_rat
2020-01-11/19:45
Mobile Youtube does not work, error
https://dl.dropboxusercontent.com/s/i5aqyzvokqvh90w/myt.JPG

general.useragent.override.youtube.com

Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; WebView/2.0; rv:11.0; IEMobile/11.0; NOKIA; Lumia 525) like Gecko

sebaro
2020-01-11/21:34
Mobile (m.youtube) uses the rtsp protocol and only one stream/quality 144, video/3gpp.
The script checks for http, so if you want to make it work, comment/remove it:
ytVideo.indexOf('http') == 0

grey_rat
2020-01-11/22:35
Rstp is only used with the old useragent.
Example:
Opera/9.80 (J2ME/MIDP; Opera Mini/5.1.21214/28.2725; U; ru) Presto/2.8.119 Version/11.10

For smartphones is used VP9 and H264, with a choice of quality 144 - 2k.
https://dl.dropboxusercontent.com/s/5x7lsqnw2nhm4cj/myt2.JPG

sebaro
2020-01-12/08:58
What's your UA? I tried with Galaxy and iPhone and it's working.

sebaro
2020-01-12/12:45
On Chromium works with "Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; WebView/2.0; rv:11.0; IEMobile/11.0; NOKIA; Lumia 525) like Gecko".

On Firefox the "useragent.override" option is ignored:
https://bugzilla.mozilla.org/show_bug.cgi?id=1589607

grey_rat
2020-01-12/19:08
my UA
Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; WebView/2.0; rv:11.0; IEMobile/11.0; NOKIA; Lumia 525) like Gecko

if UA
Mozilla/5.0 (iPhone; CPU iPhone OS 11_0_1 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A402 Safari/604.1
some pictures are not drawn

For Firefox 48 - 52 enable general.useragent.override.youtube
config.js

//
try {
Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
.eval("SIGNED_TYPES.clear()");
}
catch(ex) {}

and
config-prefs.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "config.js");


If an error occurs in the mobile version, you must go to the full version of Youtube "Desktop" and then go back "Return to mobile YouTube."

grey_rat
2020-01-12/19:50
In Firefox 73.0b3 to create for all websites general.useragent.override

grey_rat
2020-01-12/20:05
sorry, this code

//
Components.utils.import("resource://gre/modules/UserAgentOverrides.jsm");
UserAgentOverrides.init();

sebaro
2020-01-13/08:59
Firefox 71 + general.useragent.override + your UA is working fine for me.

If images do not load is because they do not use https and the browser blocks them.

grey_rat
2020-01-13/22:31
By the way, there is a site that reduces the size of the script file. ATauenis, using https://skalman.github.io/UglifyJS -online/, reduced the file to a size that managed to run on K-meleon.

https://www.phantom.sannata.org/viewtopic.php?p=502440#p502440

grey_rat
2020-01-13/22:32

sebaro
2020-01-14/08:51
You can also remove the code you don't need, most users are interested in YouTube only.

request
oldversion
2020-01-18/17:02
hello ,Message


could you please indicate me a a page where ic ouuld download an older version of

viewtube


as the new version breaks the quicktime 7 plugin on my older mac.

thank you

sebaro
2020-01-18/18:17
What's the issue with the new version?

requestt
Authorru
2020-01-20/16:12
the older version would not load some videos,
the newer version would load them but it would embed the quicktime 10 player and no longer the quicktime 7 player which would allow for the videos to come afloat; but i am not sure if it is related to viewtube . i noticed this behaviour after the latest update through viewtube

sebaro
2020-01-20/17:38
Can you have both versions installed at the same time?
Check your browser's plugins (about:plugins), and see which are installed and what media type they are associated with.

Authorru
2020-01-21/23:29
thanks,

on safari there is no such option to my knowledge.
what i did to evoke quicktime 7 is to open the program and let it run in the background, then it would choose the the quicktime 7 plugin /now ddeprecated,
over the quicktime 10 plugin.
the new viewtube code layout seems to be no longer compatbile with the older quicktime 7 plugin for some reason.

sebaro
2020-01-22/08:48
ViewTube is not the compatible with any video plugin or video player, it just embeds the video streams using the HTML elements Video, Object and Embed. It also offers the option to choose what type of media (mimetype/plugin) to use when embedding the video. You can change these two options in the options window (the dots icon in the panel).