Skip to content

Commit

Permalink
list of strings for audio/video track types
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed Dec 12, 2024
1 parent fcc47da commit c1d4bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/tracks/audio-track.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AudioTrack extends Track {
* @param {Object} [options={}]
* Object of option names and values
*
* @param {AudioTrack~Kind} [options.kind='']
* @param {('alternative'|'descriptions'|'main'|'main-desc'|'translation'|'commentary')} [options.kind='']
* A valid audio track kind
*
* @param {string} [options.id='vjs_track_' + Guid.newGUID()]
Expand Down
2 changes: 1 addition & 1 deletion src/js/tracks/video-track.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class VideoTrack extends Track {
* @param {Object} [options={}]
* Object of option names and values
*
* @param {string} [options.kind='']
* @param {('alternative'|'captions'|'main'|'sign'|'subtitles'|'commentary')} [options.kind='']
* A valid {@link VideoTrack~Kind}
*
* @param {string} [options.id='vjs_track_' + Guid.newGUID()]
Expand Down

0 comments on commit c1d4bd0

Please sign in to comment.