Settings.enableMediaCapabilities

bool enableMediaCapabilities() @property

Get enableMediaCapabilities property.

Returns

Enable or disable support for MediaCapabilities on pages. This

specification intends to provide APIs to allow websites to make an optimal decision when picking media content for the user. The APIs will expose information about the decoding and encoding capabilities for a given format but also output capabilities to find the best match based on the device’s display.

See also https://wicg.github.io/media-capabilities/

void enableMediaCapabilities(bool propval) @property

Set enableMediaCapabilities property.

Parameters

propvalEnable or disable support for MediaCapabilities on pages. This specification intends to provide APIs to allow websites to make an optimal decision when picking media content for the user. The APIs will expose information about the decoding and encoding capabilities for a given format but also output capabilities to find the best match based on the device’s display. See also https://wicg.github.io/media-capabilities/