Play videos in web pages
Lire les vidéos dans les pages Web
Explanation
This policy setting allows you to manage whether Internet Explorer will display videos found in Web content. Generally only embedded video files are affected by this setting; active Web content such as java applets are not.
If you enable this policy setting, Internet Explorer will play videos found in Web content.
If you disable this policy setting, Internet Explorer will not play or download videos, helping pages display more quickly.
If you do not configure this policy setting, Internet Explorer will play videos found in Web content.
Ce paramètre de stratégie permet la configuration de l’affichage dans Internet Explorer de vidéos contenues dans les pages Web. En général, seuls les fichiers vidéo incorporés sont touchés par ce paramètre ; le contenu actif, comme dans les applications Java, ne l’est pas.
Si vous activez ce paramètre de stratégie, Internet Explorer affiche les vidéos contenues dans les pages Web.
Si vous désactivez ce paramètre de stratégie, Internet Explorer n’affiche pas et ne télécharge pas les vidéos, ce qui accélère l’affichage des pages.
Si vous ne configurez pas ce paramètre de stratégie, Internet Explorer affiche les vidéos contenues dans les pages Web.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
Display Inline Videos
| State | Value written |
|---|---|
| Enabled | REG_SZ = yes |
| Disabled | REG_SZ = no |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/Advanced_PlayVideos
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Display Inline Videos' -Value 'yes' -Type StringDisable
# Disable: inetres/Advanced_PlayVideos
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Display Inline Videos' -Value 'no' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/Advanced_PlayVideos
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Display Inline Videos' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"