From c1d4bd021bf854473b60794f1f4dba13ee586949 Mon Sep 17 00:00:00 2001 From: mister-ben <1676039+mister-ben@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:11:12 +0100 Subject: [PATCH] list of strings for audio/video track types --- src/js/tracks/audio-track.js | 2 +- src/js/tracks/video-track.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/tracks/audio-track.js b/src/js/tracks/audio-track.js index b3d55eb506..9d469269f6 100644 --- a/src/js/tracks/audio-track.js +++ b/src/js/tracks/audio-track.js @@ -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()] diff --git a/src/js/tracks/video-track.js b/src/js/tracks/video-track.js index b9166bcf4d..06c72c41c5 100644 --- a/src/js/tracks/video-track.js +++ b/src/js/tracks/video-track.js @@ -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()]