Shumway - PDF.js for Flash

Discussion about official Mozilla Firefox builds
User avatar
Zlip792
Posts: 1340
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Re: Shumway - PDF.js for Flash

Post by Zlip792 »

Bumping to get information about this:

"(so we can widen Shumway's ad whitelist)."

Can someone tell me what does it mean [source] - https://bugzilla.mozilla.org/show_bug.cgi?id=1037580
Ver Greeneyes
Posts: 1030
Joined: June 28th, 2008, 4:57 am

Re: Shumway - PDF.js for Flash

Post by Ver Greeneyes »

Zlip792 wrote:"(so we can widen Shumway's ad whitelist)."

Can someone tell me what does it mean [source] - https://bugzilla.mozilla.org/show_bug.cgi?id=1037580
The intent, IIUC, is to enable Shumway by default but only use it on a subset of Flash-based ads (advertisements) that are known to work. That way websites that only use Flash to display ads wouldn't have to spin up the plugin anymore (which is currently a major source of jank, though work is underway to improve this), not to mention other benefits. The more ads Shumway is able to display correctly, the bigger the impact :) Aside from everything else, I imagine that this is also a good way to test the waters with Shumway before applying it to content that people care more about (like Flash-based games, and eventually the video players on popular websites).
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Shumway - PDF.js for Flash

Post by patrickjdempsey »

Doesn't that completely defeat the best aspect of click-to-play though? that it hides loud, annoying autoplaying ads for people not using an adblocker? I certainly hope Shumway will at least have the option for users to choose to disable autoplay, otherwise it seems like a wasted effort.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Ver Greeneyes
Posts: 1030
Joined: June 28th, 2008, 4:57 am

Re: Shumway - PDF.js for Flash

Post by Ver Greeneyes »

Can't you already get HTML5-based ads that start playing automatically? I guess there's no fundamental reason why Shumway couldn't be click-to-play as well, though.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Shumway - PDF.js for Flash

Post by patrickjdempsey »

Supposedly the preference media.autoplay.enabled can be used to disable autoplay of HTML5 media... but I have no idea if it works. The best thing would be if Shumway honored that setting.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Harsh86
Posts: 94
Joined: August 23rd, 2004, 4:34 am

Re: Shumway - PDF.js for Flash

Post by Harsh86 »

patrickjdempsey wrote:Doesn't that completely defeat the best aspect of click-to-play though? that it hides loud, annoying autoplaying ads for people not using an adblocker? I certainly hope Shumway will at least have the option for users to choose to disable autoplay, otherwise it seems like a wasted effort.


https://bugzilla.mozilla.org/show_bug.cgi?id=923527

There's a bug to fix the fact that Shumway bypasses Click To Play. So i presume while Shumway will be used render some flash ads, the user still has control over Shumway in the same way we have control over any NPAPI based plugin.
User avatar
Grantius
Posts: 1545
Joined: June 28th, 2011, 4:14 pm
Contact:

Re: Shumway - PDF.js for Flash

Post by Grantius »

Latest Shumway seems to be really good, I have it enabled by default.
Micro gaming box: AMD A10-7800 APU, 8gb RAM M350 ITX case (size of a book), Windows 10/Ubuntu
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
User avatar
Drumbrake
Posts: 1177
Joined: February 14th, 2011, 2:34 am

Re: Shumway - PDF.js for Flash

Post by Drumbrake »

patrickjdempsey wrote:Supposedly the preference media.autoplay.enabled can be used to disable autoplay of HTML5 media... but I have no idea if it works.


No. At least, I've just tried on youtube and the HTML5 video starts as usual.
Which is very annoying, of course.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Shumway - PDF.js for Flash

Post by patrickjdempsey »

YouTube is a known guilty abuser of forcing autoplay... they now have it as an option on most pages, although if you dump cookies like me, it's useless. media.autoplay.enabled:false works on every HTML5 "sample" page I tried.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Ver Greeneyes
Posts: 1030
Joined: June 28th, 2008, 4:57 am

Re: Shumway - PDF.js for Flash

Post by Ver Greeneyes »

patrickjdempsey wrote:YouTube is a known guilty abuser of forcing autoplay... they now have it as an option on most pages, although if you dump cookies like me, it's useless. media.autoplay.enabled:false works on every HTML5 "sample" page I tried.
It doesn't work for me on Youtube as a whole though (e.g. non-Shumway). If I load a video up it starts to play automatically even if I have media.autoplay.enabled set to false. Are pages where a video is the main focus somehow exempt, or am I misunderstanding the feature?
User avatar
Drumbrake
Posts: 1177
Joined: February 14th, 2011, 2:34 am

Re: Shumway - PDF.js for Flash

Post by Drumbrake »

That's what I too originally meant (sorry if that wasn't clear), youtube always auto-plays videos in HTML5 even with media.autoplay.enabled set to false -regardless of Shumway.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Shumway - PDF.js for Flash

Post by patrickjdempsey »

Isn't that what I said? media.autoplay.enabled does not work on YouTube. Period. Never has. They are purposefully bypassing the browser behavior. That is YouTube playing dirty. There are plenty of HTML5 sample websites that it does work.

However, YouTube now has an option (it moves around through) somewhere on the page or in the gear menu on the video and allows you to disable autoplay. It appears for Flash video, not sure if that works at all with Shumway or even HTML5.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
KilliK
Posts: 612
Joined: June 18th, 2004, 7:11 am

Re: Shumway - PDF.js for Flash

Post by KilliK »

that button disables the autoplay for a new youtube feature, which automatically starts playing the next video when you finish watching the current one.
it doesnt disable the autoplay of newly opened youtube videos.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Shumway - PDF.js for Flash

Post by patrickjdempsey »

Wow, I didn't think that site could get more annoying.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
Edds
Posts: 332
Joined: July 21st, 2010, 1:13 pm
Location: SVK

Re: Shumway - PDF.js for Flash

Post by Edds »

Is there any way to use Shumway for some certain webpages in Firefox beta with Shumway extension? There is no "settings" in extension or in about:config for this. Don't know how to use it.
Laptop: Intel Core i5 1240P | 16GB DDR4 | 500GB NVMe | 1080p | Win 11
Phone: Samsung S24 Ultra | Android 14
Post Reply