`Locked` prevents the user from changing preferences for the feature.
-**Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6\
+`Default` specifies the default value for Autoplay. block-audio-video is not supported on Firefox ESR 68.
+
+**Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6, Autoplay Default/Locked added in Firefox 76, Firefox ESR 68.8)\
**CCK2 Equivalent:** N/A\
-**Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`
+**Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`,`media.autoplay.default`
#### Windows (GPO)
```
Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Allow\1 = "https://example.org"
Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Block\1 = "https://example.edu"
+Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Default = "allow-audio-video" | "block-audio" | "block-audio-video"
+Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Locked = 0x1 | 0x0
```
#### macOS
```
<string>https://example.edu</string>
</array>
<key>BlockNewRequests</key>
- <true/>
+ <true/> | <false/>
<key>Locked</key>
- <true/>
+ <true/> | <false/>
</dict>
<key>Microphone</key>
<dict>
<string>https://example.edu</string>
</array>
<key>BlockNewRequests</key>
- <true/>
+ <true/> | <false/>
<key>Locked</key>
- <true/>
+ <true/> | <false/>
</dict>
<key>Location</key>
<dict>
<string>https://example.edu</string>
</array>
<key>BlockNewRequests</key>
- <true/>
+ <true/> | <false/>
<key>Locked</key>
- <true/>
+ <true/> | <false/>
</dict>
<key>Notifications</key>
<dict>
<array>
<string>https://example.edu</string>
</array>
+ <key>Default</key>
+ <string>allow-audio-video | block-audio | block-audio-video</string>
+ <key>Locked</key>
+ <true/> | <false/>
</dict>
</dict>
</dict>
},
"Autoplay": {
"Allow": ["https://example.org"],
- "Block": ["https://example.edu"]
+ "Block": ["https://example.edu"],
+ "Default": "allow-audio-video" | "block-audio" | "block-audio-video",
+ "Locked": true | false
}
}
}
<array>
<string>https://example.edu</string>
</array>
+ <key>Default</key>
+ <string>block-audio</string>
+ <key>Locked</key>
+ <true/>
</dict>
</dict>
<key>PopupBlocking</key>
<string id="Autoplay_Block_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, ist die Automatische Wiedergabe für die genannten Quellen immer deaktiviert.
Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert, wird die Standardeinstellung zur Automatischen Wiedergabe von Medien befolgt.</string>
+ <string id="Autoplay_Default">Default autoplay level</string>
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.
+
+If this policy is disabled or not configured, audio is blocked by default.
+
+Note: Blocking audio and video does not work on the ESR.</string>
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>
+ <string id="AllowAudioVideo">Allow Audio and Video</string>
+ <string id="BlockAudio">Block Audio</string>
+ <string id="BlockAudioVideo">Block Audio and Video</string>
<string id="FirefoxHome">Firefox Home anpassen</string>
<string id="FirefoxHome_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, können die Sektionen festgelegt werden, die der Anwender sieht und der Anwender kann diese nicht mehr anpassen.
<presentation id="List">
<listBox refId="List"/>
</presentation>
+ <presentation id="Autoplay_Default">
+ <dropdownList refId="Autoplay_Default"/>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<string id="Autoplay_Block_Explain">If this policy is enabled, autoplay is always blocked for the origins indicated.
If this policy is disabled or not configured, the default autoplay policy is followed.</string>
+ <string id="Autoplay_Default">Default autoplay level</string>
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.
+
+If this policy is disabled or not configured, audio is blocked by default.
+
+Note: Blocking audio and video does not work on the ESR.</string>
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>
+ <string id="AllowAudioVideo">Allow Audio and Video</string>
+ <string id="BlockAudio">Block Audio</string>
+ <string id="BlockAudioVideo">Block Audio and Video</string>
<string id="FirefoxHome">Customize Firefox Home</string>
<string id="FirefoxHome_Explain">If this policy is enabled, you can choose the sections displayed on Firefox Home and prevent the user from changing them.
<presentation id="List">
<listBox refId="List"/>
</presentation>
+ <presentation id="Autoplay_Default">
+ <dropdownList refId="Autoplay_Default"/>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<string id="Autoplay_Block_Explain">Si esta política está habilitada, la reproducción automática siempre se bloqueará para los orígenes indicados.
Si esta política está deshabilitada o no está configurada, se seguirá la política predeterminada de reproducción automática.</string>
+ <string id="Autoplay_Default">Default autoplay level</string>
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.
+
+If this policy is disabled or not configured, audio is blocked by default.
+
+Note: Blocking audio and video does not work on the ESR.</string>
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>
+ <string id="AllowAudioVideo">Allow Audio and Video</string>
+ <string id="BlockAudio">Block Audio</string>
+ <string id="BlockAudioVideo">Block Audio and Video</string>
<string id="FirefoxHome">Personalizar inicio de Firefox</string>
<string id="FirefoxHome_Explain">Si esta política está habilitada, podrá elegir las secciones que se muestran en la página de inicio de Firefox e impedir que el usuario las cambie.
<presentation id="List">
<listBox refId="List"/>
</presentation>
+ <presentation id="Autoplay_Default">
+ <dropdownList refId="Autoplay_Default"/>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<list id="Permissions" key="Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Block" valuePrefix=""/>
</elements>
</policy>
+ <policy name="Autoplay_Locked" class="Both" displayName="$(string.Autoplay_Locked)" explainText="$(string.Autoplay_Locked_Explain)" key="Software\Policies\Mozilla\Firefox\Permissions\Autoplay" valueName="Locked">
+ <parentCategory ref="Autoplay"/>
+ <supportedOn ref="SUPPORTED_FF76"/>
+ <enabledValue>
+ <decimal value="1"/>
+ </enabledValue>
+ <disabledValue>
+ <decimal value="0"/>
+ </disabledValue>
+ </policy>
+ <policy name="Autoplay_Default" class="Both" displayName="$(string.Autoplay_Default)" explainText="$(string.Autoplay_Default_Explain)" key="Software\Policies\Mozilla\Firefox\Permissions\Autoplay" presentation="$(presentation.Autoplay_Default)">
+ <parentCategory ref="Autoplay"/>
+ <supportedOn ref="SUPPORTED_FF76"/>
+ <elements>
+ <enum id="Autoplay_Default" valueName="Default">
+ <item displayName="$(string.AllowAudioVideo)">
+ <value>
+ <string>allow-audio-video</string>
+ </value>
+ </item>
+ <item displayName="$(string.BlockAudio)">
+ <value>
+ <string>block-audio</string>
+ </value>
+ </item>
+ <item displayName="$(string.BlockAudioVideo)">
+ <value>
+ <string>block-audio-video</string>
+ </value>
+ </item>
+ </enum>
+ </elements>
+ </policy>
<policy name="DefaultDownloadDirectory" class="Both" displayName="$(string.DefaultDownloadDirectory)" explainText="$(string.DefaultDownloadDirectory_Explain)" key="Software\Policies\Mozilla\Firefox" presentation="$(presentation.Preferences_String)">
<parentCategory ref="firefox"/>
<supportedOn ref="SUPPORTED_FF68"/>
<string id="Autoplay_Block_Explain">If this policy is enabled, autoplay is always blocked for the origins indicated.\r
\r
If this policy is disabled or not configured, the default autoplay policy is followed.</string>\r
+ <string id="Autoplay_Default">Default autoplay level</string>\r
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.\r
+\r
+If this policy is disabled or not configured, audio is blocked by default.\r
+\r
+Note: Blocking audio and video does not work on the ESR.</string>\r
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>\r
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.\r
+\r
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>\r
+ <string id="AllowAudioVideo">Allow Audio and Video</string>\r
+ <string id="BlockAudio">Block Audio</string>\r
+ <string id="BlockAudioVideo">Block Audio and Video</string>\r
<string id="FirefoxHome">Customize Firefox Home</string>\r
<string id="FirefoxHome_Explain">If this policy is enabled, you can choose the sections displayed on Firefox Home and prevent the user from changing them.\r
\r
<presentation id="List">\r
<listBox refId="List"/>\r
</presentation>\r
+ <presentation id="Autoplay_Default">\r
+ <dropdownList refId="Autoplay_Default"/>\r
+ </presentation>\r
</presentationTable>\r
</resources>\r
</policyDefinitionResources>\r
<string id="Autoplay_Block_Explain">Se questo criterio è abilitato, la riproduzione automatica sarà sempre bloccata per le origini indicate.
Se questo criterio è disabilitato o non configurato, viene seguito il criterio predefinito per la riproduzione automatica.</string>
+ <string id="Autoplay_Default">Default autoplay level</string>
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.
+
+If this policy is disabled or not configured, audio is blocked by default.
+
+Note: Blocking audio and video does not work on the ESR.</string>
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>
+ <string id="AllowAudioVideo">Allow Audio and Video</string>
+ <string id="BlockAudio">Block Audio</string>
+ <string id="BlockAudioVideo">Block Audio and Video</string>
<string id="FirefoxHome">Personalizza pagina iniziale di Firefox</string>
<string id="FirefoxHome_Explain">Se questo criterio è abilitato, è possibile scegliere le sezioni visualizzate nella pagina iniziale di Firefox e impedire all'utente di modificarle.
<presentation id="List">
<listBox refId="List"/>
</presentation>
+ <presentation id="Autoplay_Default">
+ <dropdownList refId="Autoplay_Default"/>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<string id="Autoplay_Block_Explain">若啟用此原則,將永遠針對指定的來源封鎖自動播放。
若停用或不設定此原則,將遵循預設自動播放原則。</string>
+ <string id="Autoplay_Default">Default autoplay level</string>
+ <string id="Autoplay_Default_Explain">If this policy is enabled, you can choose the default autoplay level.
+
+If this policy is disabled or not configured, audio is blocked by default.
+
+Note: Blocking audio and video does not work on the ESR.</string>
+ <string id="Autoplay_Locked">Do not allow preferences to be changed</string>
+ <string id="Autoplay_Locked_Explain">If this policy is enabled, autoplay preferences cannot be changed by the user.
+
+If this policy is disabled or not configured, the user can change autoplay preferences.</string>
+ <string id="AllowAudioVideo">Allow Audio and Video</string>
+ <string id="BlockAudio">Block Audio</string>
+ <string id="BlockAudioVideo">Block Audio and Video</string>
<string id="FirefoxHome">自訂 Firefox 首頁</string>
<string id="FirefoxHome_Explain">若啟用此原則,將可以設定要在 Firefox 首頁顯示哪些段落,並防止使用者更改設定。
<presentation id="List">
<listBox refId="List"/>
</presentation>
+ <presentation id="Autoplay_Default">
+ <dropdownList refId="Autoplay_Default"/>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
\ No newline at end of file