From 9e5e1a817e767aacd5eabfe49912e7a2bf956ae8 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Tue, 23 Jun 2020 16:57:36 -0500
Subject: [PATCH 1/1] PictureInPicture policy
---
README.md | 36 +++++++++++++++++++++++++++++++++++
mac/org.mozilla.firefox.plist | 2 ++
windows/de-DE/firefox.adml | 4 ++++
windows/en-US/firefox.adml | 4 ++++
windows/es-ES/firefox.adml | 4 ++++
windows/firefox.admx | 10 ++++++++++
windows/fr-FR/firefox.adml | 4 ++++
windows/it-IT/firefox.adml | 4 ++++
windows/zh-TW/firefox.adml | 4 ++++
9 files changed, 72 insertions(+)
diff --git a/README.md b/README.md
index 0e64846..fab07f8 100644
--- a/README.md
+++ b/README.md
@@ -3256,6 +3256,42 @@ Value (string):
}
}
```
+### PictureInPicture
+
+Enable or disable Picture-in-Picture.
+
+**Compatibility:** Firefox 78, Firefox ESR 78\
+**CCK2 Equivalent:** N/A\
+**Preferences Affected:** `media.videocontrols.picture-in-picture.video-toggle.enabled`
+
+#### Windows (GPO)
+```
+Software\Policies\Mozilla\Firefox\PictureInPicture = 0x1 | 0x0
+```
+#### Windows (Intune)
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PictureInPicture
+```
+Value (string):
+```
+ or
+```
+#### macOS
+```
+
+ PictureInPicture
+ |
+
+```
+#### policies.json
+```
+{
+ "policies": {
+ "PictureInPicture": true | false
+ }
+}
+```
### PopupBlocking
Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist
index f32e96d..cef72bd 100644
--- a/mac/org.mozilla.firefox.plist
+++ b/mac/org.mozilla.firefox.plist
@@ -420,6 +420,8 @@
+ PictureInPicture
+ |
PopupBlocking
Allow
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index c53f9b6..63cb963 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -783,6 +783,10 @@ If this policy is enabled or not configured, the built-in PDF viewer is used.If this policy is enabled, the built-in PDF viewer will honor document permissions like preventing the copying of text.
If this policy is not disabled or not configured, document permissions are ignored.
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.
Für eine Beschreibung der Einstellung, siehe:
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index caeaade..4377035 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -785,6 +785,10 @@ If this policy is enabled or not configured, the built-in PDF viewer is used.If this policy is enabled, the built-in PDF viewer will honor document permissions like preventing the copying of text.
If this policy is not disabled or not configured, document permissions are ignored.
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.
For a description of the preference, see:
diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml
index 7db21cb..138c750 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -785,6 +785,10 @@ Si esta polÃtica está habilitada o no configurada, se utilizará el visor de P
Si esta polÃtica está habilitada, el visor de PDF incorporado respetará los permisos del documento, como evitar la copia de texto.
Si esta polÃtica no está deshabilitada o no está configurada, se ignorarán los permisos del documento.
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
Si esta polÃtica está habilitada, la preferencia se bloquea en true. Si esta polÃtica está deshabilitada, la preferencia está bloqueada en false.
Para una descripción de la preferencia, visita:
diff --git a/windows/firefox.admx b/windows/firefox.admx
index 4008453..2ba4c6c 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -3582,5 +3582,15 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 7513de6..bb88e20 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -784,6 +784,10 @@ If this policy is enabled or not configured, the built-in PDF viewer is used.If this policy is enabled, the built-in PDF viewer will honor document permissions like preventing the copying of text.
If this policy is not disabled or not configured, document permissions are ignored.
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.
Pour une description de la préférence, voir:
diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml
index 6250fbe..6cc07ea 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -785,6 +785,10 @@ Se questo criterio è abilitato o non configurato, viene utilizzato il visualizz
Se questo criterio è abilitato, il visualizzatore PDF integrato rispetterà i permessi del documento (ad esempio, l'impedire la copia del testo).
Se questo criterio è disabilitato o non configurato, i permessi del documento sono ignorati.
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.
Per una descrizione della preferenza, si veda:
diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml
index c92c1e2..c515c2a 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -783,6 +783,10 @@ Mozilla 建è°æ¨ä¸è¦åç¨ Telemetryãéé Telemetry æ¶éå°çè³è¨å¯
è¥åç¨æ¤ååï¼å°æéµå¾ªæ件æ¬éè¨å®ï¼ä¾å¦é²æ¢æåè¤è£½ï¼ã
è¥åç¨æä¸è¨å®æ¤ååï¼å°±æ忽ç¥æ件æ¬éã
+ Picture-in-Picture
+ If this policy is disabled, the Picture-in-Picture toggle does not appear on videos.
+
+If this policy is enabled or not configured, the Picture-in-Picture toggle is available on videos.
è¥åç¨æ¤ååï¼å好è¨å®å°éå®çº trueãè¥åç¨æ¤ååï¼å好è¨å®åéå®çº falseã
è¥éè¦å好è¨å®ç詳細說æï¼è«åèï¼
--
2.34.1