chromium/components/policy/resources/templates/policy_definitions/Miscellaneous/PrefixedVideoFullscreenApiAvailability.yaml

owners:
- [email protected]
- file://media/OWNERS

caption: Manage the deprecated prefixed video fullscreen API's availability

desc: |-
  Setting the policy to <ph name="ENABLED_VALUE_NAME">enabled</ph> will allow the prefixed video-specific fullscreen APIs (e.g. Video.webkitEnterFullscreen()) to be used from Javascript.

  Setting the policy to <ph name="DISABLED_VALUE_NAME">disabled</ph> will prevent the prefixed video-specific fullscreen APIs from being used in Javascript, leaving only the standard fullscreen APIs (e.g. Element.requestFullscreen()).

  Setting the policy to <ph name="RUNTIME_ENABLED_VALUE_NAME">runtime-enabled</ph> will allow the PrefixedFullscreenVideo runtime enabled feature flag to determine whether the prefixed video-specific fullscreen APIs are available to websites.

  If the policy is unset, the behavior defaults to <ph name="RUNTIME_ENABLED_VALUE_NAME">runtime-enabled</ph>.

  Note: this policy is a temporary solution to help transition away from webkit-prefixed fullscreen APIs. It will tentatively be removed in M130, or in the few following releases.


supported_on:
- android:124-
- chrome.*:124-
- chrome_os:124-
- fuchsia:124-

deprecated: false

features:
  dynamic_refresh: true
  per_profile: true

type: string-enum

schema:
  type: string
  enum:
  - disabled
  - enabled
  - runtime-enabled

items:
- caption: Follows regular deprecation timelines for the PrefixedVideoFullscreen API
  name: RuntimeEnabled
  value: runtime-enabled
- caption: Disables prefixed video fullscreen APIs
  name: Disabled
  value: disabled
- caption: Enables prefixed video fullscreen APIs
  name: Enabled
  value: enabled

default: runtime-enabled

example_value: disabled

tags: []