A Tip for Leopard WebKit Users (Streaming Video)

Discussion in 'PowerPC Macs' started by Altemose, Aug 12, 2015.

  1. Altemose, Aug 12, 2015
    Last edited: Aug 13, 2015

    Altemose macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #1
    In light of the recent demise of MacTubes and YouView, I set off on the task of getting a solid fluid YouTube experience on my PowerBook G4. My system is a 1.67 GHz model with 1.25 GB of RAM and an SSD. Sadly, under HTML5, the PowerBook struggled to play YouTube under both Leopard WebKit and TenFourFox. Adobe Flash is such a insecure pig that I refuse to use it on my system, however the performance was marginally better.

    The tool I found was ClickToFlash 3.1.6 by Marc Hoyois. You can download this extension directly from Apple by going to "Safari" --> Safari Extensions Gallery. Once installed, the preference panel should immediately open, but if not you can access it by going to "Safari" --> Preferences --> Extensions --> ClickToFlash.

    @Dronecatcher also pointed out that Marc Hoyois also has an extension called ClickToPlugin. It's functionality is very similar but includes a few more features. You can download it off his site from here. I am adding it to the guide below but note that only a few settings are different. Hats off to @Dronecatcher for pointing this other tool out!

    These settings work great for me and I strongly urge any Leopard WebKit user to give them a shot for both speed and security reasons.

    "GENERAL"
    • Placeholder opacity: 50% (Default)
    • Show Flash source as tooltip
    • __Allow invisible Flash/Plugins (CTP) (this will kill all background Flash/plugin processes on a site for security reasons)
    • __Block Flash/plugins manually
    • sIFR text policy: "Show Text Only"
    • Flash to HTML5 conversion scripts: Use Defaults
    • __Load Flash/plug in if HTML5 conversion fails (due to the insecurity of Flash, we never want it to load regardless)
    • Use HTML5 media fallbacks (If QuickTime cannot be used, it will use the rather secure HTML5 instead)
    • __Use a download manager
    "PLUG-INS (CTP ONLY)"
    • __Quartz Composer Plug-in (Enabling can use a lot of CPU in drawing Quartz compositions)
    • QuickTime Plug-In 7.7 (QuickTime can certainly load by default for streaming reasons)
    • QuickTime Plug-in 7.7 (Not sure of the difference from the other plugin)
    • __Shockwave Flash
    • __Switchable Java Plug-in for WebKit
    • __ Verified Download Plugin
    "CONTROL LISTS"
    Leave this tab completely at the default settings unless you have a specific reason to use Adobe Flash on a site. The final version of Flash for PowerPC is 10.1 and is notorious for security issues.

    "MEDIA PLAYER"

    • Default Media Player: QuickTime Player
    • __Load media player automatically (Leave unchecked to preserve CPU while site is loading)
    • Show Preview Image (Loads preview from YouTube search page)
    • Default Resolution: 360p (Higher End G5s and ridiculously built G4s maybe able to handle 720p :);))
    • Nonnative formats policy: Use only as a last resort
    • Initial Behavior: Autoplay
    • Instant Autoplay
    • Include Media Sources
    • Include Flash (this will make all Flash attempt to be played by QuickTime or HTML5 as a fallback)
    • Include plug-in (CTP ONLY, forces all plugins to try and use QuickTime or HTML5 as a fallback)
    • __Include the video's webpage
    • __Include QuickTime Player
    • __Include AirPlay
    • __Hide "Rewind" button
    • Sound Volume: 100% (Adjusting this may affect audio quality)

    "SHORTCUT MENU"
    • __Always Allow
    • __Always Hide
    • __Load All Flash (Disabled for Security Reasons)
    • __Load Invisible Flash (Disabled for Security Reasons)
    • __View on Site (Would allow you to watch video in site rather than in QuickTime)
    • Download Video (Allows you to save copies of videos)
    • Open in QuickTime Player (Allows site to open in QuickTime if not done automatically)
    • __Send via AirPlay
    • ClickToFlash Preferences
    • __Enable/Disable ClickToFlash/ClickToPlugin
    "KEYBOARD SHORTCUTS"
    This tab is entirely up to user discretion on programming shortcuts.

    DISCLAIMER: These settings work great for me and are a vast improvement over any other extension or tool that I have tried. That being said, I cannot guarantee that these settings will work great for everyone and am not responsible for anything possibly caused by them.
     
  2. 128keaton macrumors 68020

    128keaton

    Joined:
    Jan 13, 2013
  3. Altemose thread starter macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #3
    Please report back on the results and if you come across any good changes I can make to the original post.
     
  4. 128keaton macrumors 68020

    128keaton

    Joined:
    Jan 13, 2013
    #4
    Ok I cannot get Webkit to use flash instead of HTML5 on YouTube.

    EDIT: Nevermind. It's super smooth!
     
  5. 128keaton macrumors 68020

    128keaton

    Joined:
    Jan 13, 2013
    #5

    Quick test using my PB 12".
    Don't worry, those fans are from my server, not the PowerBook.
     
  6. Dronecatcher, Aug 13, 2015
    Last edited: Aug 13, 2015

    Dronecatcher macrumors 68000

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #6
    You might find ClickToPlugin is better - the developer recommends it over CTF. I've been using it for a year or so and even on my Powerbooks, setting it to play Youtube as 240P flv brings CPU use to around 50% - going to 360P mp4 is around 60%.

    EDIT: FLV playback needs to be activated separately, details here:

    http://sourceforge.net/p/leopard-webkit/tickets/45/
     
  7. Altemose thread starter macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #7
    I will check that out! The ClickToFlash extension is a lot better than the old ClickToFlash plugin.
     
  8. Altemose thread starter macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #8
    As @Dronecatcher pointed out, Marc Hoyois has a similar extension called ClickToPlugin. It works just as well as ClickToFlash and I will be updating the original post with instructions for ClickToPlugin as well. Thanks for the tip @Dronecatcher!
     
  9. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #9
  10. Dronecatcher macrumors 68000

    Dronecatcher

    Joined:
    Jun 17, 2014
    Location:
    Lincolnshire, UK
    #10
    What a great idea! Only managed to get it to work on one website but it's still nice to have these options - plus watching flash video in a skeletal Webkit window is is easier on the CPU than the full browser.
     
  11. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #11
    Yeah, I think that's the idea. Kaiser knows a lot of T4Fx users pull out a different browser for web video and that it's usually Safari.
     
  12. Eugen Mezei macrumors member

    Joined:
    Mar 21, 2015
    #12
    Sandbox Safari works sometimes and sometimes not. On the same page.
    When it doesn't I got the message: "400 Bad Request. The plain HTTP request was sent to HTTPS port. nginx/1.8.0"
     
  13. just.in.time macrumors member

    Joined:
    Dec 13, 2010
    Location:
    Arizona, USA
    #13
    I will give this a try on my iMac G4 1.25ghz 20-Inch) when I get home from work. This only works in Safari? As of late I have been primarily using TenFourFox.
     
  14. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #14
    You are misunderstanding.

    This is a plugin for TenFourFox that redirects an URL to a single instance/window of Sandbox Safari, which is an extremely limited version of Safari designed specifically for this.
     
  15. roadbloc macrumors G3

    roadbloc

    Joined:
    Aug 24, 2009
    Location:
    UK
    #15
    This app I found may also come of use when wanting to play YouTube (or other HTML5) videos.
     
  16. roadbloc macrumors G3

    roadbloc

    Joined:
    Aug 24, 2009
    Location:
    UK
    #16
     
  17. Altemose thread starter macrumors G3

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #17
    Sandbox Safari sounds like it is a great implementation for those sites not yet migrated to HTML 5 and requiring Flash.
     

Share This Page