Hi, I think two prefs are needed. In addition to the pref discussed in this topic, "make all media on any tabs be click-to-play" is needed to ensure the Web Accessibility.
UAAG2 (User Agent Accessibility Guidelines 2.0) LCWD [1] contains two "Level A" success criteria related to this topic. - 2.11.1 Time-Based Media Load-Only The user can override the play on load of recognized time-based media content such that the content is not played until explicit user request. - http://www.w3.org/TR/2013/WD-IMPLEMENTING-UAAG20-20131107/#sc_2111 - 2.11.2 Execution Placeholder The user can request a placeholder instead of executable content that would normally be contained within an on-screen area (e.g. Applet, Flash), until explicit user request to execute. - http://www.w3.org/TR/2013/WD-IMPLEMENTING-UAAG20-20131107/#sc_2112 # Please refer "Implementing UAAG 2.0" for user scenarios of each success criterion. IMHO, to comply UAAG2 (LCWD), we need only one pref: "make all media be click-to-play". However I think lexer prefs are preferred for general cases and I agree that we implement such prefs. To summarize my opinion, "make all media be click-to-play" should be implemented when we implement the prefs (or features) that control autoplay/play(). Best wishes, Takeshi [1] User Agent Accessibility Guidelines (UAAG) 2.0 http://www.w3.org/TR/2013/WD-UAAG20-20131107/ Implementing UAAG 2.0 http://www.w3.org/TR/2013/WD-IMPLEMENTING-UAAG20-20131107/ Robert Kaiser: > Henri Sivonen schrieb: > > > If autoplay is disabled by default, Web authors will take > > > counter-measures and start playback from JavaScript. However, if > > > autoplay is honored by default but the user can turn in off as a pref, > > > it could be that Web authors won't bother to take counter-measures. > > > > It probably should be a visual pref somewhere, but I agree that the > > default should be to enable autoplay on foreground tabs. > > > > On background tabs, I think all media should be click-to-play by default > > though, if possible - both for not needlessly waste power (which might > > be just as precious on a laptop than a mobile device, the lines are > > blurry anyhow) and for not surprising people (or making multiple tbas > > that one opens in the background all run autostarted media elements at > > the same time, creating a big jumble on the speakers). > > > > KaiRo _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform