On first play of DRM-protected content, we want to notify user that something is different by calling attention to the new icon in the URL bar.
Dolske needs a UX spec and final artwork to handle the teaching moment on first play.
Assignee: nobody → sfranks
OS: Mac OS X → All
Version: unspecified → Firefox 38
Icon shake animation: http://people.mozilla.org/~sfranks/EME/shake.gif Plays only once open detection of DRM content. Not sure if it should wait until the actual playing of content as if motion appears on the screen instantly after pressing play, it may take all the attention away from the icon shake. Can we tell from the source code if the content on a page will use the CDM before the user presses play?
We do not currently watch for first-play, just whenever EME is used by content. That feels like a complication that isn't important -- when we add the icon (because EME usage had been triggered), we can shake the icon then.
So, is the idea here to display the "shaker" animation on first display of the url bar icon (triggered by first usage of EME)?
Assignee: sfranks → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Iteration: --- → 39.1 - 9 Mar
Points: --- → 3
(In reply to Javaun Moradi [:javaun] from comment #4) > So, is the idea here to display the "shaker" animation on first display of > the url bar icon (triggered by first usage of EME)? Yes, precisely.
This wfm, keep in mind you need to restart the browser (and clear the pref) for the animation to play a second time (or mess with the CSS / DOM in some other way).
Attachment #8568577 - Flags: review?(sfranks)
Thanks Gijs. Can you post which pref to clear here so we can test later?
browser.eme.ui.firstContentShown is the pref in question.
(In reply to :Gijs Kruitbosch from comment #6) > Created attachment 8568577 [details] [diff] [review] > shaky eme icon on first play, > > This wfm, keep in mind you need to restart the browser (and clear the pref) > for the animation to play a second time (or mess with the CSS / DOM in some > other way). Would you be able to push a build or record a video of how it looks? Sorry, I have never made a build before (but would like to learn when I have more bandwidth).
remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ea24779be4b5 Builds will appear at: https://firstname.lastname@example.org
Comment on attachment 8568577 [details] [diff] [review] shaky eme icon on first play, Looks great.
Attachment #8568577 - Flags: review?(sfranks) → review+
Comment on attachment 8568577 [details] [diff] [review] shaky eme icon on first play, Approval Request Comment [Feature/regressing bug #]: EME UI [User impact if declined]: user might miss EME UI [Describe test coverage new/current, TreeHerder]: nope [Risks and why]: very low, mostly CSS changes for the animation and a small bit of JS to trigger it. [String/UUID change made/needed]: no (NB: please transplant for uplift, the attached patch only has OS X css)
Attachment #8568577 - Flags: approval-mozilla-aurora?
Comment on attachment 8568577 [details] [diff] [review] shaky eme icon on first play, Approving for uplift to aurora since this looks low risk. Lukas mentioned that the note about "transplanting" is for the sheriffs. Gijs, what does that mean? Thanks!
Attachment #8568577 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Is there an accessibility affordance for this shaky animation in the tab, or a plan for one in the future? How might screen readers get feedback about this?
(In reply to jstrickland from comment #16) > Is there an accessibility affordance for this shaky animation in the tab, or > a plan for one in the future? How might screen readers get feedback about > this? AIUI the notifications have role alert and therefore get announced - unless that doesn't work if they start off collapsed? David, can you file a followup bug in that case?
Thanks for asking! Bumping NI over to Marco to test next week.
Flags: needinfo?(dbolter) → needinfo?(mzehe)
OK, in order to be able to test this, I need access to something that actually has EME content. I am not a Netflix user, so have no private account to test this with. I also don't know where else I might find EME content, never came across it AFAIK.
Marco: http://people.mozilla.org/~cpearce/mse-clearkey/ should work on current Nightly/Aurora.
This page doesn't give me any indication that this is anything other than an ordinary video that you can also find on Youtube. Video playback controls are there, the video plays, but I don't get any indication that there is anything special about it. No notification bar or other alert type whatsoever.
Mistakenly filed against Firefox 38 and should be instead 38 Branch. Sorry for the spam. dkl
Version: Firefox 38 → 38 Branch
You need to log in before you can comment on or make changes to this bug.