Skip to content

Commit

Permalink
Remove MediaKeySystemConfiguration dictionary from MDN (#9786)
Browse files Browse the repository at this point in the history
* Remove MediaKeySystemConfiguration dictionary from MDN

* Fix parameters section
  • Loading branch information
queengooborg authored Oct 15, 2021
1 parent 5e90bae commit e04c030
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 278 deletions.
6 changes: 6 additions & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7910,6 +7910,12 @@
/en-US/docs/Web/API/MediaCapabilitiesInfo /en-US/docs/Web/API/MediaCapabilities/encodingInfo
/en-US/docs/Web/API/MediaCapabilities_API /en-US/docs/Web/API/Media_Capabilities_API/Using_the_Media_Capabilities_API
/en-US/docs/Web/API/MediaDevices/mediaDevices.getUserMedia /en-US/docs/Web/API/MediaDevices/getUserMedia
/en-US/docs/Web/API/MediaKeySystemConfiguration /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaKeySystemConfiguration/audioCapabilities /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaKeySystemConfiguration/distinctiveIdentifier /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaKeySystemConfiguration/initDataTypes /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaKeySystemConfiguration/persistentState /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaKeySystemConfiguration/videoCapabilities /en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration
/en-US/docs/Web/API/MediaMetadata/MediaMetadata.title /en-US/docs/Web/API/MediaMetadata/title
/en-US/docs/Web/API/MediaPositionState /en-US/docs/Web/API/MediaSession/setPositionState
/en-US/docs/Web/API/MediaPositionState/duration /en-US/docs/Web/API/MediaSession/setPositionState
Expand Down
61 changes: 0 additions & 61 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -59194,67 +59194,6 @@
"jpmedley"
]
},
"Web/API/MediaKeySystemConfiguration": {
"modified": "2020-10-15T21:33:47.354Z",
"contributors": [
"sideshowbarker",
"fscholz",
"Sheppy",
"Sebastianz",
"jpmedley",
"kscarfone"
]
},
"Web/API/MediaKeySystemConfiguration/audioCapabilities": {
"modified": "2020-10-15T21:37:20.135Z",
"contributors": [
"sideshowbarker",
"fscholz",
"rolfedh",
"Sebastianz",
"jpmedley"
]
},
"Web/API/MediaKeySystemConfiguration/distinctiveIdentifier": {
"modified": "2020-10-15T21:37:20.112Z",
"contributors": [
"sideshowbarker",
"fscholz",
"rolfedh",
"Sebastianz",
"jpmedley"
]
},
"Web/API/MediaKeySystemConfiguration/initDataTypes": {
"modified": "2020-10-15T21:37:20.109Z",
"contributors": [
"sideshowbarker",
"fscholz",
"rolfedh",
"Sebastianz",
"jpmedley"
]
},
"Web/API/MediaKeySystemConfiguration/persistentState": {
"modified": "2020-10-15T21:37:20.133Z",
"contributors": [
"sideshowbarker",
"fscholz",
"rolfedh",
"Sebastianz",
"jpmedley"
]
},
"Web/API/MediaKeySystemConfiguration/videoCapabilities": {
"modified": "2020-10-15T21:37:20.137Z",
"contributors": [
"sideshowbarker",
"fscholz",
"rolfedh",
"Sebastianz",
"jpmedley"
]
},
"Web/API/MediaKeys": {
"modified": "2020-10-15T21:33:46.038Z",
"contributors": [
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/encrypted_media_extensions_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ The Encrypted Media Extensions API provides interfaces for controlling the playb
- : Is a read-only map of media key statuses by key IDs.
- {{domxref('MediaKeySystemAccess')}}
- : Provides access to a Key System for decryption and/or a content protection provider.
- {{domxref('MediaKeySystemConfiguration')}}
- : Provides configuration information about the media key system.

## Specifications

Expand Down
16 changes: 13 additions & 3 deletions files/en-us/web/api/mediakeysystemaccess/getconfiguration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,19 @@ browser-compat: api.MediaKeySystemAccess.getConfiguration
---
{{APIRef("EncryptedMediaExtensions")}}{{SeeCompatTable}}

The `MediaKeySystemAccess.getConfiguration()` method returns a
{{domxref('MediaKeySystemConfiguration')}} object with the supported combination of
configuration options.
The `MediaKeySystemAccess.getConfiguration()` method returns an object with the supported combination of
the following configuration options:

- `initDataTypes` {{readonlyinline}}
- : Returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
- `audioCapabilities` {{readonlyinline}}
- : Returns a list of supported audio type and capability pairs.
- `videoCapabilities` {{readonlyinline}}
- : Returns a list of supported video type and capability pairs.
- `distinctiveIdentifier` {{readonlyinline}}
- : Indicates whether a persistent distinctive identifier is required.
- `persistentState` {{readonlyinline}}
- : Indicates whether the ability to persist state is required.

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/mediakeysystemaccess/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The **`MediaKeySystemAccess`** interface of the [EncryptedMediaExtensions API](/
- {{domxref("MediaKeySystemAccess.createMediaKeys()")}}
- : Returns a {{jsxref('Promise')}} that resolves to a new {{domxref("MediaKeys")}} object.
- {{domxref("MediaKeySystemAccess.getConfiguration()")}}
- : Returns a {{domxref("MediaKeySystemConfiguration")}} object with the supported combination of configuration options.
- : Returns an object with the supported combination of configuration options.

## Specifications

Expand Down

This file was deleted.

This file was deleted.

40 changes: 0 additions & 40 deletions files/en-us/web/api/mediakeysystemconfiguration/index.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ promise = navigator.requestMediaKeySystemAccess(keySystem, supportedConfiguratio
- : A {{domxref('DOMString')}} identifying the key system. For example
`com.example.somesystem` or `org.w3.clearkey`.
- `supportedConfigurations`
- : A non-empty {{jsxref('Array')}} of {{domxref('MediaKeySystemConfiguration')}}
objects. The first element with a satisfiable configuration will be used.
- : A non-empty {{jsxref('Array')}} of objects conforming to the object returned by {{domxref("MediaKeySystemAccess.getConfiguration")}}. The first element with a satisfiable configuration will be used.

### Return value

Expand Down
3 changes: 1 addition & 2 deletions files/jsondata/GroupData.json
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@
"MediaKeys",
"MediaKeySession",
"MediaKeyStatusMap",
"MediaKeySystemAccess",
"MediaKeySystemConfiguration"
"MediaKeySystemAccess"
],
"methods": [
"Navigator.requestMediaKeySystemAccess()",
Expand Down

0 comments on commit e04c030

Please sign in to comment.