Inappropriate message "You must enable DRM to play some audio or video on this page"

NEW
Unassigned

Status

()

enhancement
P3
normal
a year ago
2 months ago

People

(Reporter: ambrose.li, Unassigned)

Tracking

61 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

a year ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180404224504

Steps to reproduce:

1. Disable DRM

2. Right click on a video on a page with DRM video (e.g., https://www.ctvnews.ca/canada/montreal-mom-uses-carpool-lane-with-daughter-still-gets-ticket-1.3871852 )


Actual results:

3. Firefox pops up the "You must enable DRM to play some audio or video on this page" message


Expected results:

If the user has chosen to disable DRM they want to ignore all DRM content. They shouldn't be constantly nagged to enable something they don't want.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Untriaged → Audio/Video
Ever confirmed: true
Product: Firefox → Core
Component: Audio/Video → Audio/Video: Playback

Comment 1

a year ago
I stumbled on this bug in a different use case.

* A friend sends me a link to a forum post: http://www.cyberforum.ru/dump/thread2246232.html
* I click that link in order to read the post and comments there.
* A script on that forum wants to show me an ad. It tries to autoplay a video.
* The video in question is DRM-protected.
* Firefox shows me the yellow nag bar, telling me that I “must” enable DRM to [blah blah didn’t read any further].
* I do not care at all for any video or audio on that page. I carefully dismiss the nag bar. A few seconds later, the script tries to autoplay another (or possibly the same) video, so the nag bar pops up again.

I have two suggestions.

First, in case DRM is disabled in preferences and the user has not indicated in any way that they want to watch or listen to anything, do not display the nag bar.

Second, if the user does indicate that desire, pop up a bar that informs them that the video or audio in question is DRM-restricted. Do not use any “must” or “need” or even “should” modals. Treat the need to enable DRM in the same way as the need to make an exception to the pop-up blocker: provide a menu button with one item that allows DRM for this one media file, and another to enable DRM globally.
As of 2018-05-27, Mozilla 61.0b8 (64-bit), I confirm that this bug still is present. The steps to reproduce provided by Ambrose Li are accurate.
+1 on changing this behavior.  It's both irritating and completely contrary to Mozilla's mission of an open web.
Nils, do you have any thoughts on this?
Flags: needinfo?(drno)
Priority: -- → P3
I actually fail to reproduce this. Disabling DRM on my Mac and visiting these sites and attempting a right click on the video from the description does not result in any DRM popups for me. Maybe because I have Widevine installed already. Or do these pop-ups only ever show up on Linux only? Or only when you never installed Widevine?

I think the description from comment #1 actually sounds to me more like requesting to block autoplay in general: if you visit a page where you want to read something and the page starts playing videos, which you don't want, request Firefox to not play the videos no matter if they are DRM protected or not.

In general I can understand that if the user explicitly turned off DRM in the settings, that he/she doesn't want to see the prompt over and over again. But I think it really only should be suppressed if we know the user has explicitly turned off DRM playback (oppose to DRM was not enabled by default - in that case we should show the pop up to inform the user why content is not playing).
Flags: needinfo?(drno)
Reporter

Comment 6

8 months ago
(In reply to Nils Ohlmeier [:drno] from comment #5)
> I actually fail to reproduce this. Disabling DRM on my Mac and visiting
> these sites and attempting a right click on the video from the description
> does not result in any DRM popups for me. Maybe because I have Widevine
> installed already. Or do these pop-ups only ever show up on Linux only? Or
> only when you never installed Widevine?

I have never heard of Widewine, so you are correct that I have never installed it.

> I think the description from comment #1 actually sounds to me more like
> requesting to block autoplay in general: if you visit a page where you want
> to read something and the page starts playing videos, which you don't want,
> request Firefox to not play the videos no matter if they are DRM protected
> or not.

This is false. This was happening way before autoplay blocking was implemented even in Nightly. The two are completely unrelated.

> In general I can understand that if the user explicitly turned off DRM in
> the settings, that he/she doesn't want to see the prompt over and over
> again. But I think it really only should be suppressed if we know the user
> has explicitly turned off DRM playback (oppose to DRM was not enabled by
> default - in that case we should show the pop up to inform the user why
> content is not playing).

This is also false. DRM is enabled by default; disabling DRM is always an explicit user action. There is no such thing as DRM being not enabled by default.

Comment 7

8 months ago
(In reply to Ambrose Li from comment #6)

> This is also false. DRM is enabled by default; disabling DRM is always an
> explicit user action. There is no such thing as DRM being not enabled by
> default.

An opinionated GNU/Linux distribution could, in theory, deliver Firefox with DRM disabled by default. I do not know if any such distribution actually exists.

However, even if that were the case, the message should be more neutral, saying something like “this video is DRM-protected, so Firefox will not play it, as specified in your preferences”. (There could be hyperlinks pointing to an explanation why DRM is undesirable, and to the relevant preferences page.)
Reporter

Comment 8

8 months ago
(In reply to Yuri Khan from comment #7)
> However, even if that were the case, the message should be more neutral,
> saying something like “this video is DRM-protected, so Firefox will not play
> it, as specified in your preferences”. (There could be hyperlinks pointing
> to an explanation why DRM is undesirable, and to the relevant preferences
> page.)

IMO the message should just not be displayed. It’s okay to display it exactly once (or after prefs have been toggled)—throughout the entire lifetime of the Firefox install, not throughout the lifetime of a session. It is just rude and disrespectful to nag the user about DRM even though the user has made it clear that they don’t want to deal with DRM content.

(Right now it’s not even displayed once during the lifetime of a session; it’s displayed every single time DRM content is found on a page. This is just wrong.)

Otherwise the “message” should be just an inconspicuous icon, like how Firefox distinguishes between encrypted and unencrypted pages.

Comment 9

8 months ago
A workaround which seems to work for me is to disable the following in about:config :

media.gmp-widevinecdm.enabled
media.gmp-widevinecdm.visible

Comment 10

8 months ago
Hi!  Just wanted to say I have this problem, too.  

The message pops up whenever I click on an article which happens to contain a drm vid.  Please note that I am only trying to read the article, NOT play the embedded vid.  I suspect Firefox is trying to play it just because it is there, triggering the message.  I agree with the suggestion that the message should be displayed once per session.  I should also tell you this happens so often and is so annoying, that I am on the verge of moving to a different browser - if I can find one that doesn't have this issue.

Thanks for your help and your time.

Comment 11

8 months ago
I hadn't seen this message for a while, and I thought it must have been fixed. Actually, I think it's 'cause I browse with NoScript and Ublock Origin. I went to do something in a 'clean' browser profile, and up it came. 

So, a solution is to browse with plugins that block all the rubbish by default.

Comment 12

7 months ago
I am now getting this on AliExpress, every page. I’m not even seeing the audio or video element that is causing the message, and it’s not making it easy for me to know what to add to my blocking rules.

Comment 13

7 months ago
+1 to comment 12

I get this frequently there.  I really don't want this (BRIGHT!) yellow bar so often.  I would prefer it to be like the Flash dialog, which I can say "never" to, per-site.

Comment 14

7 months ago
Firefox 56.2.3 bug still persists.

It's not the "You must enable DRM...", but "Any DeRMo support must be done as TOATALLY EXTERNAL MODULE with ABSOLUTELY NO SPECIAL SUPPORT in FF" since Mozilla principles (https://www.mozilla.org/en-US/about/manifesto/details/) state:

2. The Internet is a global public resource that must remain open and accessible.
7. Free and open source software promotes the development of the Internet as a public resource.
8. Transparent community-based processes promote participation, accountability and trust.

Comment 15

7 months ago
(In reply to heaven-seven from comment #14)
> Firefox 56.2.3 bug still persists.
> 
> It's not the "You must enable DRM...", but "Any DeRMo support must be done
> as TOATALLY EXTERNAL MODULE with ABSOLUTELY NO SPECIAL SUPPORT in FF" since
> Mozilla principles (https://www.mozilla.org/en-US/about/manifesto/details/)
> state:
> 
> 2. The Internet is a global public resource that must remain open and
> accessible.
> 7. Free and open source software promotes the development of the Internet as
> a public resource.
> 8. Transparent community-based processes promote participation,
> accountability and trust.

+1

Comment 16

7 months ago
(In reply to Ron Kaminsky from comment #9)
> A workaround which seems to work for me is to disable the following in
> about:config :
> 
> media.gmp-widevinecdm.enabled
> media.gmp-widevinecdm.visible

Thank you very much, this works.

Actually, only media.gmp-widevinecdm.visible is needed, but I have both switched them off anyway.
Every Aliexpress product page shows the yellow warning since a few weeks, it was very upsetting...

Shame on Mozilla to burry the setting in obscure about:config entries.
I even tried to install the Firefox EME free version, and the infamous message still appears !

Comment 17

6 months ago
(In reply to mooms from comment #16)
> (In reply to Ron Kaminsky from comment #9)
> > A workaround which seems to work for me is to disable the following in
> > about:config :
> > 
> > media.gmp-widevinecdm.enabled
> > media.gmp-widevinecdm.visible
> 
> Thank you very much, this works.


yup, thanks for this! i was getting that DRM message all over aliexpress, it's gone now :) now, if they just add a "Don't ask me again" checkbox to the message, that _should_ close this bug, right?
Reporter

Comment 18

6 months ago
I just got this on 65.0a1 (2018-12-09). I’ve been getting the (very unhelpful, IMO) audio blocking popups on other sites, so this proves the two issues are unrelated.

The site that triggered the DRM popup was https://abc7ny.com/4868592/ ; I have a screen cap if it’s useful.

Comment 19

5 months ago
(In reply to jonqrandom from comment #17)
> > > A workaround which seems to work for me is to disable the following in
> > > about:config :
> > > 
> > > media.gmp-widevinecdm.enabled
> > > media.gmp-widevinecdm.visible
> > 
> > Thank you very much, this works.
> 
> 
> yup, thanks for this! i was getting that DRM message all over aliexpress,
> it's gone now :) now, if they just add a "Don't ask me again" checkbox to
> the message, that _should_ close this bug, right?

If they just as easy and simple as switch off "media.gmp-widevinecdm" options by default, that _will_ close this bug.

Comment 20

3 months ago

(In reply to Ron Kaminsky from comment #9)

A workaround which seems to work for me is to disable the following in
about:config :

media.gmp-widevinecdm.enabled
media.gmp-widevinecdm.visible

I can confirm that this works for me as well, on other profile that doesn't have noscript.

Also, I just found (I think) the original "bug" which is causing all this angst. https://bugzilla.mozilla.org/show_bug.cgi?id=1234355
'Remove "Don't ask me again" footgun option from the "enable DRM" info bar notification'

We should replace the "You must enable DRM to play some audio or video on this page" info bar's "Options" drop-down menu with a "Not Now" button. If we allow the user to "Don't ask me again", then they will get into a state where they don't know why Netflix doesn't work. If this message is nagging the user too much, then they should either enable the Adobe CDM or stop trying to play DRM video with DRM disabled!'

Right. It's not that I'm /trying/ to play DRM video, it's more than the website is trying, because Firefox is ignoring my explicit instructions to not allow DRM...

Comment 21

3 months ago

And I posted that too soon, I meant to also say, the footgun is making it too easy to re-enable DRM when one doesn't want it.

Comment 22

3 months ago

It's very annoying this alert and very intrusive.
Mozilla STOP THIS SPAM now!

You need to log in before you can comment on or make changes to this bug.