This yahoo video autoplays

Ask for help about NoScript, no registration needed to post
Glenn

This yahoo video autoplays

Post by Glenn »

The following Yahoo news story contains a video that autoplays when I open it in Firefox with Noscript running. Yahoo and related sites are generally on my whitelist because I do use their news portal, and sometimes email web interface. But, a number of their news pages start to autoplay when I open them in tabs to read later, and this is extremely annoying, especially when more than one autoplays concurrently. With a bunch (1-50) of tabs open to read later, it can be hard to find the ones that are playing, especially because of the time lag caused by buffering... it isn't usually the one I opened most recently.

http://news.yahoo.com/video/ferguson-re ... 17485.html

Now, my question... how can I stop it? I have media.autoplay.enabled set to false in Firefox. Do I have to disable all scripts in Yahoo to stop this? Or can I be more selective?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: This yahoo video autoplays

Post by barbaz »

Your link got broken by the board, so I can't see it for myself. To avoid that happening please wrap links in url tags, like this

Code: Select all

[url]link here[/url]
But I'd suggest you start by trying
NoScript Options > Embeddings, check "Apply these restrictions to whitelisted sites too"
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: This yahoo video autoplays

Post by therube »

http://news.yahoo.com/video/ferguson-re ... 17485.html
(The link works "as is", as Yahoo "auto-corrects" it ;-).)

Click-to-play doesn't do it (anymore, since change on FF end).
NoScript doesn't do it, at least by default, even with 'Apply these restrictions to whitelisted sites too' (& with Flash blocked).

Not sure offhand if (or even how) Flashblock works (or does it, now)?
Or are there some NoScript prefs to bring back old FF-like behavior where you would have to click each blocked item individually before playback would start?

FF, by default, only restores tabs as needed when opening from Session Restore, so possibility exists that only one, perhaps, clip would fire on startup, but that doesn't apply to tabs opened as described by the OP, so having them auto-play sucks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32.1
glenn

Re: This yahoo video autoplays

Post by glenn »

Here's the URL, done right. First time user, hadn't noticed that the forum was on a site I hadn't approved in NoScript... so when I click URL nothing happened, and I didn't realize why... NoScript.info was permitted. http://news.yahoo.com/video/ferguson-re ... 17485.html

Thanks for the responses. As therube points out, the suggestion doesn't help.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Glenn

Re: This yahoo video autoplays

Post by Glenn »

I should point out, that the suggestion does change the behavior... it prevents the autoplay, but then also prevents playing the video at all, even when I get to the page and click on the video area, etc. No obvious solution to that, so that's why I said it doesn't help.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: This yahoo video autoplays

Post by barbaz »

Glenn wrote:No obvious solution to that,
NoScript Menu > Blocked Objects, pick one of the choices below the last separator?
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: This yahoo video autoplays

Post by Giorgio Maone »

Please check latest development build 2.6.9.19rc1.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: This yahoo video autoplays

Post by barbaz »

@Giorgio: For future reference, what was the bug?
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: This yahoo video autoplays

Post by Giorgio Maone »

barbaz wrote:@Giorgio: For future reference, what was the bug?
No bug.
I just added special work-around code to cope with Yahoo creating an unique "YUIBridgeCallback" Flash variable for its player every time the page is reloaded (hence causing activation to never work, because the embedding was always a different one to NoScript), by replacing it with an artificial unique movie identifier extrapolated from the page's URL.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: This yahoo video autoplays

Post by barbaz »

Thanks for the explanation.
*Always* check the changelogs BEFORE updating that important software!
-
Glenn

Re: This yahoo video autoplays

Post by Glenn »

Would like to try the development build, but I repeatedly get a connection failure trying to download it.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: This yahoo video autoplays

Post by barbaz »

I can connect to secure.informaction.com fine. Temporary glitch?

Anyway one or the other of these links should work:
https://addons.mozilla.org/addon/noscript/versions/
https://noscript.net/feed?t=b
*Always* check the changelogs BEFORE updating that important software!
-
Glenn

Re: This yahoo video autoplays

Post by Glenn »

It finally occurred to me to download the development version and drag it in to FF, which got it installed. Clicking for automatic install consistently failed with a connection failure to noscript.net, _after_ the download happened.

Having installed the development version, the video still autoplays. Then I tried the workaround suggested of blocking even for trusted sites, and again that prevents the autoplay from happening.

The first time I tried the blocking for trusted sites, I still seemed to be prevented from viewing at all... but on subsequent reload it worked. So that seemed somewhat useless in that there is little point to opening a tab in the background if you have to reload it when you get to the foreground if you want to watch the video. Of course, it is helpful if the surrounding page convinces you that the video is not worth watching.

On the other hand, closing that tab and and then reloading it in the background again, I got the red-circled-f overlay immediately and didn't have to reload. So I'm not sure what will happen in future cases. Yet.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Glenn

Re: This yahoo video autoplays

Post by Glenn »

Restarting FF, and trying the same video as a background tab again, I again found the need to reload the page before I could get it to play. So, this is an improvement, and I've no clue if it can be improved further, but there is further room for improvement.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Post Reply