diff options
Diffstat (limited to 'comm/suite/components/pref/content/pref-media.xul')
-rw-r--r-- | comm/suite/components/pref/content/pref-media.xul | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/comm/suite/components/pref/content/pref-media.xul b/comm/suite/components/pref/content/pref-media.xul new file mode 100644 index 0000000000..3a2411a634 --- /dev/null +++ b/comm/suite/components/pref/content/pref-media.xul @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/pref/pref-media.dtd"> + +<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + + <prefpane id="media_pane" + label="&pref.media.title;"> + + <preferences id="media_preferences"> + <preference id="media.autoplay.enabled" + name="media.autoplay.enabled" + type="bool"/> + <preference id="media.eme.enabled" + name="media.eme.enabled" + type="bool"/> + <preference id="image.animation_mode" + name="image.animation_mode" + type="string"/> + </preferences> + + <groupbox id="mediaHTML5Preferences" align="start"> + <caption label="&mediaHTML5Preferences.label;"/> + <checkbox id="autoplay" + label="&allowMediaAutoplay.label;" + accesskey="&allowMediaAutoplay.accesskey;" + preference="media.autoplay.enabled"/> + </groupbox> + + <!-- REMOVE #ifndef once EME are ready for prime time, meta bug 1015800 --> +#ifndef RELEASE_OR_BETA + <groupbox id="drmPreferences"> + <caption label="&enableDrmMedia.label;"/> + <checkbox id="emeForSuite" + label="&enableEmeForSuite.label;" + accesskey="&enableEmeForSuite.accesskey;" + preference="media.eme.enabled"/> + </groupbox> +#endif + + <groupbox> + <caption label="&animLoopingTitle.label;"/> + <radiogroup id="imageLooping" + preference="image.animation_mode"> + <radio value="normal" + label="&animLoopAsSpecified.label;" + accesskey="&animLoopAsSpecified.accesskey;"/> + <radio value="once" + label="&animLoopOnce.label;" + accesskey="&animLoopOnce.accesskey;"/> + <radio value="none" + label="&animLoopNever.label;" + accesskey="&animLoopNever.accesskey;"/> + </radiogroup> + </groupbox> + </prefpane> +</overlay> |