Skip to content

Commit 0d18393

Browse files
committed
update media events and props
1 parent 7d803c6 commit 0d18393

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/api/const.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const MEDIA_ELEMENT_EVENTS = [
2525
'contextmenu',
2626
'durationchange',
2727
'emptied',
28+
'encrypted',
2829
'ended',
2930
'enterpictureinpicture',
3031
'error',
@@ -49,6 +50,7 @@ export const MEDIA_ELEMENT_EVENTS = [
4950

5051
export const MEDIA_ELEMENT_PROPS = [
5152
'src',
53+
'currentSrc',
5254
'srcObject',
5355
'error',
5456
'preload',
@@ -66,16 +68,17 @@ export const MEDIA_ELEMENT_PROPS = [
6668
'loop',
6769
'muted',
6870
'volume',
71+
'preservesPitch',
6972
'defaultMuted',
7073
'crossOrigin',
7174
'defaultPlaybackRate',
7275
'playbackRate',
7376
'mediaGroup',
74-
'controller',
7577
'controls',
7678
'audioTracks',
7779
'videoTracks',
7880
'textTracks',
81+
'sinkId',
7982
'disablePictureInPicture',
8083
'width',
8184
'height',

0 commit comments

Comments
 (0)