Update HTMLMediaElement.preload type and comment (#1113)
* Update HTMLMediaElement.preload type and comment * Apply suggestions from code review Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com> * Run baseline-accept on changes from code review Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
This commit is contained in:
Родитель
21da71e984
Коммит
5b728657f4
|
@ -6940,8 +6940,8 @@ interface HTMLMediaElement extends HTMLElement {
|
|||
playbackRate: number;
|
||||
/** Gets TimeRanges for the current media resource that has been played. */
|
||||
readonly played: TimeRanges;
|
||||
/** Gets or sets the current playback position, in seconds. */
|
||||
preload: string;
|
||||
/** Gets or sets a value indicating what data should be preloaded, if any. */
|
||||
preload: "none" | "metadata" | "auto" | "";
|
||||
readonly readyState: number;
|
||||
readonly remote: RemotePlayback;
|
||||
/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */
|
||||
|
|
|
@ -1554,7 +1554,7 @@
|
|||
"comment": "Gets or sets the current playback position, in seconds."
|
||||
},
|
||||
"preload": {
|
||||
"comment": "Gets or sets the current playback position, in seconds."
|
||||
"comment": "Gets or sets a value indicating what data should be preloaded, if any."
|
||||
},
|
||||
"networkState": {
|
||||
"comment": "Gets the current network activity for the element."
|
||||
|
|
|
@ -2792,6 +2792,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"HTMLMediaElement": {
|
||||
"properties": {
|
||||
"property": {
|
||||
"preload": {
|
||||
"overrideType": "\"none\" | \"metadata\" | \"auto\" | \"\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче