diff --git a/src/compat/browser_compatibility_types.ts b/src/compat/browser_compatibility_types.ts index 1e866a404d9..9c8de9cac9d 100644 --- a/src/compat/browser_compatibility_types.ts +++ b/src/compat/browser_compatibility_types.ts @@ -200,6 +200,7 @@ export interface IMediaElementEventMap { leavepictureinpicture: Event; loadeddata: Event; loadedmetadata: Event; + needkey: MediaEncryptedEvent; pause: Event; play: Event; playing: Event; @@ -211,6 +212,7 @@ export interface IMediaElementEventMap { visibilitychange: Event; volumechange: Event; waiting: Event; + webkitneedkey: MediaEncryptedEvent; } /**