summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/pref/content/pref-media.xul
blob: 3a2411a6340e1c8f0b95f017978fa58a8efb6099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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>