[RESOLVED] Suddenly having trouble with Youtube

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

[RESOLVED] Suddenly having trouble with Youtube

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
youtuber

Re: Suddenly having trouble with Youtube

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Suddenly having trouble with Youtube

Post by Thrawn »

Have you ever configured anything in noscript.allowedMimeRegexp?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
youtuber

Re: Suddenly having trouble with Youtube

Post 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?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
youtuber

Re: Suddenly having trouble with Youtube

Post 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?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
User avatar
Giorgio Maone
Site Admin
Posts: 9526
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Suddenly having trouble with Youtube

Post 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.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: Suddenly having trouble with Youtube

Post 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
*Always* check the changelogs BEFORE updating that important software!
-
youtuber

Re: Suddenly having trouble with Youtube

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: Suddenly having trouble with Youtube

Post by barbaz »

You're welcome.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply