@@ -706,6 +706,44 @@ Those are the possible values for that option:
706706 More information about the ` "RELOADING" ` state can be found in
707707 [ the player states documentation] ( ./Player_States.md ) .
708708
709+ ### onAudioTrackNotPlayable
710+
711+ _ type_ : ` string|undefined `
712+
713+ _ defaults_ : ` "continue" `
714+
715+ Specifies the behavior when all audio tracks are not playable.
716+
717+ Those are the possible values for that option:
718+
719+ - ` "continue" ` : The player will proceed to play the content without audio.
720+
721+ - ` "error" ` : The player will throw an error to indicate that the audio tracks could not be
722+ played.
723+
724+ <div class =" note " >
725+ If neither the audio nor the video tracks are playable, an error will be thrown regardless of this setting.
726+ </div >
727+
728+ ### onVideoTrackNotPlayable
729+
730+ _ type_ : ` string|undefined `
731+
732+ _ defaults_ : ` "continue" `
733+
734+ Specifies the behavior when all video tracks are not playable.
735+
736+ Those are the possible values for that option:
737+
738+ - ` "continue" ` : The player will proceed to play the content without video.
739+
740+ - ` "error" ` : The player will throw an error to indicate that the video tracks could not be
741+ played.
742+
743+ <div class =" note " >
744+ If neither the audio nor the video tracks are playable, an error will be thrown regardless of this setting.
745+ </div >
746+
709747### lowLatencyMode
710748
711749_ type_ : ` Boolean|undefined `
@@ -927,7 +965,7 @@ The `serverSyncInfos` object contains two keys:
927965 <div class =" note " >
928966 The ` performance.now() ` API is used here because it is the main API to
929967 obtain a monotically increasing clock on the client-side.
930- </div</ div >
968+ </div >
931969
932970Example:
933971
0 commit comments