Skip to content

Commit

Permalink
change mediaOptions parameter to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
SivanA-Kaltura committed Feb 23, 2022
1 parent 50f7933 commit dd0212b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-typed/player.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare namespace KalturaPlayerTypes {
paused: boolean;
seeking: boolean;
isOnLiveEdge: () => boolean;
loadMedia: (mediaInfo: KalturaPlayerTypes.MediaInfo, mediaOptions: KalturaPlayerTypes.Sources) => Promise<any>;
loadMedia: (mediaInfo: KalturaPlayerTypes.MediaInfo, mediaOptions?: KalturaPlayerTypes.Sources) => Promise<any>;
setMedia: (options: any) => void;
getVideoElement(): HTMLVideoElement;
addEventListener(type: string, listener: CoreEventListener): void;
Expand Down

0 comments on commit dd0212b

Please sign in to comment.