YT on PPC: keeping YouTube running and accessible on PowerPC Macs
First posted: 24 March 2023
Last updated: 1 April 2023
OVERVIEW
It’s simple, even if the fixes have to be updated regularly by the vintage Macs and retro-computing community: a place to file together all the ways of accessing, viewing, streaming, or archiving clips from YouTube.
For this first rough draft, each section is set up to address different types of solutions. But it’s up to all of you, this community, to post updates and amendments to this WikiPost as we come across new, better ways at a workaround whenever YT tinker with their back-end.
USER AGENT STRINGS (FOR BROWSER PLAYBACK)
Below is a list of user agent strings known to make YT playback, in browser, possible.
Opera/9.80 (J2ME/MIDP; Opera Mini/5.1.21214/28.2725; U; ru) Presto/2.8.119 Version/11.10 [February 2023]
Until recently (March 2023), this user agent directed YT to serve a mobile interface for the browser window. As of around 22 March 2023, this began to error out inside the playback window, indicating YT dropping support for legacy mobile devices. (Other folks ought to test this to verify: a video I watched as recently as Sunday morning no longer plays as of Wednesday night.)
Mozilla/5.0 (Mobile; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.0 [March 2023]
This is still working for me (@Dronecatcher ) across various browsers and presents the mobile version of Youtube.
Also confirmed to work (@B S Magnet) with Interweb (YT kvetches about updating browser, which is probably a warning that deprecated support for this user agent string might be unsupported soon.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.2 [April 2023]
I (BSM) have absolutely no idea why this useragent string is recursive like that. From Interweb (on 10.6.8), this one, like the KaiOS string above it, sometimes works, and sometimes doesn’t (sometimes getting a message from YT saying the video is corrupt/video could not be played, only to return on a subsequent day and the videos pulling up just fine — suggesting a different Google/YT server farm might be handling streaming, with one not supporting older useragent requests as well as others). Unlike the KaiOS string, the way it displays on screen (and its controls) looks it would on a modern desktop OS paired with a modern browser. This front-end UI will probably bog things down on slower processors — even 1.67 GHz G4s, but it should still work.
USING YT-DLP FOR STREAMING FROM COMMAND LINE OR SCRIPTING
The yt-dlp project page is maintained and updated frequently.
USING PPCMC
Thanks for significant and tremendous generous work by @alex_free , PPC Media Center (PPCMC), has served as a robust GUI utility for PowerPC Macs to be able to access, stream/view, and archive YT clips (and even clips from other video services) on their faster PowerPC Macs (late G3s, G4s, and G5s).
The latest version, 7.2.6, was released December 2021, in variants optimized to run from 10.3.9 to (Intel) 10.6.8.
Since PPCMC’s last update, a more recent fix has come about involving Python3.11. Within PPCMC, there is also a prompt for updating youtube-dl.
OTHER METHODS/FIXES/WORKAROUNDS
This section, as with every other section, should have a date appended to it. That way, we can know whether a method to work on that date may need updating after system changes to YT’s back end.
UPD 2024.03.19. Install smtube with QMPlay2 player support from Macports:
Limitation: no previews of videos in smtube presently (issue with Qt4). However playback works perfectly via QMPlay2.
TODO: try fixing QMPlay2 own module for YouTube when Qt4 is used (with Qt5 it works on modern macOS).
CONCLUSION
As with all WikiPosts, this will need the community to step in and aggregate everything we know in one place. I just wanted to get things moving in this direction.
First posted: 24 March 2023
Last updated: 1 April 2023
OVERVIEW
It’s simple, even if the fixes have to be updated regularly by the vintage Macs and retro-computing community: a place to file together all the ways of accessing, viewing, streaming, or archiving clips from YouTube.
For this first rough draft, each section is set up to address different types of solutions. But it’s up to all of you, this community, to post updates and amendments to this WikiPost as we come across new, better ways at a workaround whenever YT tinker with their back-end.
USER AGENT STRINGS (FOR BROWSER PLAYBACK)
Below is a list of user agent strings known to make YT playback, in browser, possible.
Until recently (March 2023), this user agent directed YT to serve a mobile interface for the browser window. As of around 22 March 2023, this began to error out inside the playback window, indicating YT dropping support for legacy mobile devices. (Other folks ought to test this to verify: a video I watched as recently as Sunday morning no longer plays as of Wednesday night.)
Mozilla/5.0 (Mobile; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.0 [March 2023]
This is still working for me (@Dronecatcher ) across various browsers and presents the mobile version of Youtube.
Also confirmed to work (@B S Magnet) with Interweb (YT kvetches about updating browser, which is probably a warning that deprecated support for this user agent string might be unsupported soon.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.20110512 GoogleToolbarFF 7.1.2 [April 2023]
I (BSM) have absolutely no idea why this useragent string is recursive like that. From Interweb (on 10.6.8), this one, like the KaiOS string above it, sometimes works, and sometimes doesn’t (sometimes getting a message from YT saying the video is corrupt/video could not be played, only to return on a subsequent day and the videos pulling up just fine — suggesting a different Google/YT server farm might be handling streaming, with one not supporting older useragent requests as well as others). Unlike the KaiOS string, the way it displays on screen (and its controls) looks it would on a modern desktop OS paired with a modern browser. This front-end UI will probably bog things down on slower processors — even 1.67 GHz G4s, but it should still work.
USING YT-DLP FOR STREAMING FROM COMMAND LINE OR SCRIPTING
The yt-dlp project page is maintained and updated frequently.
USING PPCMC
Thanks for significant and tremendous generous work by @alex_free , PPC Media Center (PPCMC), has served as a robust GUI utility for PowerPC Macs to be able to access, stream/view, and archive YT clips (and even clips from other video services) on their faster PowerPC Macs (late G3s, G4s, and G5s).
The latest version, 7.2.6, was released December 2021, in variants optimized to run from 10.3.9 to (Intel) 10.6.8.
Since PPCMC’s last update, a more recent fix has come about involving Python3.11. Within PPCMC, there is also a prompt for updating youtube-dl.
OTHER METHODS/FIXES/WORKAROUNDS
This section, as with every other section, should have a date appended to it. That way, we can know whether a method to work on that date may need updating after system changes to YT’s back end.
UPD 2024.03.19. Install smtube with QMPlay2 player support from Macports:
Code:
sudo port install smtube +qmplay2
TODO: try fixing QMPlay2 own module for YouTube when Qt4 is used (with Qt5 it works on modern macOS).
CONCLUSION
As with all WikiPosts, this will need the community to step in and aggregate everything we know in one place. I just wanted to get things moving in this direction.
Last edited: