Page 1 of 1

[RESOLVED] Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 3:23 am
by youtuber
Normally I don't have to allow individual youtube videos, they just play as soon as the page loads. It was working fine yesterday but I just tried to watch youtube for the first time today and I'm getting the prompts again to enable the video window. The exact wording is as follows:

<VIDEO>, audio/webm; codecs="opus" (MSE)@https://www.youtube.com/watch?=xkeQNOuN6NU

I'm not sure what this "opus" is. Google says it's some kind of audio compression codec. When I enable the video box the page refreshes and I get the box again, if I enable the box again a second time the page refreshes and the video plays. I have to do this every time for each youtube video.

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 3:43 am
by youtuber
Forgot to mention, I'm using Firefox 50 and the 2.9.5.1 version of Noscript that updated today. After doing some digging I figured out that Opus is an audio codec and designed to go with a video compression codec called VP9. This is apparently something youtube has been rolling out over time because they work better than the current methods. The reason I have to enable each video twice is that firefox needs separate permission to activate both Opus and VP9.

What I need is a way of permitting both codecs to run without having to enable them on each and every video.

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 4:35 am
by Thrawn
Have you ever configured anything in noscript.allowedMimeRegexp?

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 6:02 am
by youtuber
No, I've looked through the various settings in about:config but I never tried messing with any of them, or the NoScript exceptions.

I figured out that I could go into the Blocked Objects tab of the Noscript menu and enable Opus and VP9 support for youtube.com only. This allows me to load youtube videos without having to enable each and every one. Its works well enough for now but if it gets any more annoying I can look into whitelisting them through the more advanced features.

If youtube requires these codecs to fuction would it be safe for Noscript to just enable them by default?

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 6:25 am
by youtuber
Oh great, now youtube is asking to me enable yet another codec. This time it's "mp4a.40.2".

Is this change something on youtube's end or am I only seeing these prompts because my noscript updated this morning?

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 6:47 am
by Giorgio Maone
It's a feature, not a bug, as long as you've got "Forbid <video> and <audio>" and "Apply these restrictions to whitelisted..." both checked in NoScript Options|Embeddings.

If you want to allow all the videos on Youtube at once, you just need to enable both codecs (the audio and the video one) ...@https://www.youtube.com from (NoScript Icon)>Blocked Objects..., or just Allow *@https://www.youtube.com from the same submenu.

Re: Suddenly having trouble with Youtube

Posted: Thu Nov 24, 2016 2:28 pm
by barbaz
@youtuber, Yes it is related to the NoScript update. Try whitelisting googlevideo.com and un-checking NoScript Options > Embeddings > Apply these restrictions to whitelisted sites too

Re: Suddenly having trouble with Youtube

Posted: Fri Nov 25, 2016 3:21 am
by youtuber
Giorgio Maone wrote:It's a feature, not a bug, as long as you've got "Forbid <video> and <audio>" and "Apply these restrictions to whitelisted..." both checked in NoScript Options|Embeddings.
Ah ok, so this is working as intended then.
barbaz wrote:@youtuber, Yes it is related to the NoScript update. Try whitelisting googlevideo.com and un-checking NoScript Options > Embeddings > Apply these restrictions to whitelisted sites too
I tried this and it works, however I'm going to settle for just manually enabling on a per site basis as this gives me a little more control.

Thanks for the help.

Re: Suddenly having trouble with Youtube

Posted: Fri Nov 25, 2016 3:25 am
by barbaz
You're welcome.