Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dronecatcher

macrumors 603
Original poster
Jun 17, 2014
5,282
7,941
Lincolnshire, UK
This is an update of the method I outlined here:


Moving over to TenFourFox as IceweaselPPC no longer works with this, everything is basically the same but now the viewtubehandler script points to ffplay within PPCMC7 instead of Mplayer.

TenFourFox requires some adjustments in it's config file to facilitate this:

general.useragent.site_specific_overrides set to true

general.useragent.override.youtube.com populated with:

Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19

You may also have to set these to disable autoplay:

pref("media.autoplay.enabled", false);
pref("media.mediasource.enabled", false);
pref("media.mediasource.mp4.enabled", false);
pref("media.mediasource.webm.audio.enabled", false);
pref("media.mediasource.webm.enabled", false);
pref("media.mp4.enabled", false);
pref("media.navigator.load_adapt", false);
pref("media.navigator.video.enabled", false);

This method has the advantage over youtube-dl solutions with instant playback and beating other options with a lower CPU tax - 40-50% on my Powerbook.

Thanks as ever to @alex_free for PPCMC7 and @wicknix - I 'borrowed' your user agent string from TenFiveTube.


Picture 1.png
 

Attachments

  • ViewTubeHandler.zip
    22.3 KB · Views: 175
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.