Skip to content

Commit ad128b5

Browse files
doc: add the error code possible
1 parent 45f3f33 commit ad128b5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/api/Loading_a_Content.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,9 @@ Those are the possible values for that option:
720720

721721
- `"continue"`: The player will proceed to play the content without audio.
722722

723-
- `"error"`: The player will throw an error to indicate that the audio tracks could not be
724-
played.
723+
- `"error"`: The player will throw an error `MediaError` with the code
724+
`MANIFEST_INCOMPATIBLE_CODECS_ERROR`, `NO_AUDIO_VIDEO_TRACKS` or
725+
`NO_PLAYABLE_REPRESENTATION` to indicate that the audio tracks could not be played.
725726

726727
<div class="note">
727728

@@ -748,8 +749,9 @@ Those are the possible values for that option:
748749
- `"continue"`: The player will proceed to play the content without video. (i.e.,
749750
audio-only playback).
750751

751-
- `"error"`: The player will throw an error to indicate that the video tracks could not be
752-
played.
752+
- `"error"`: The player will throw an error `MediaError` with the code
753+
`MANIFEST_INCOMPATIBLE_CODECS_ERROR`, `NO_AUDIO_VIDEO_TRACKS` or
754+
`NO_PLAYABLE_REPRESENTATION` to indicate that the video tracks could not be played.
753755

754756
<div class="note">
755757

0 commit comments

Comments
 (0)