We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb07b70 commit 982b8e5Copy full SHA for 982b8e5
baselines/dom.generated.d.ts
@@ -5725,7 +5725,7 @@ interface HTMLMediaElement extends HTMLElement {
5725
/**
5726
* Loads and starts playback of a media resource.
5727
*/
5728
- play(): void;
+ play(): Promise<void>;
5729
setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;
5730
readonly HAVE_CURRENT_DATA: number;
5731
readonly HAVE_ENOUGH_DATA: number;
inputfiles/overridingTypes.json
@@ -1073,5 +1073,13 @@
1073
"signatures": [
1074
"new(data?: string): Text"
1075
]
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "interface": "HTMLMediaElement",
1080
+ "name": "play",
1081
+ "signatures": [
1082
+ "play(): Promise<void>"
1083
+ ]
1084
}
1085
0 commit comments