import { exists, isFileValid } from './misc'
function isVideoCaptionLanguageValid (value: any) {
- return exists(value) && VIDEO_LANGUAGES[ value ] !== undefined
+ return exists(value) && VIDEO_LANGUAGES[value] !== undefined
}
const videoCaptionTypes = Object.keys(MIMETYPES.VIDEO_CAPTIONS.MIMETYPE_EXT)