1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

feat: Assume DASH MIME type when an MPD source URL is given (#7602)

This commit is contained in:
André 2022-03-02 16:36:25 +01:00 committed by GitHub
parent 1179826cbc
commit a0bb5264c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import * as Url from '../utils/url.js';
/**
* Mimetypes
*
* @see http://hul.harvard.edu/ois/////systems/wax/wax-public-help/mimetypes.htm
* @see https://www.iana.org/assignments/media-types/media-types.xhtml
* @typedef Mimetypes~Kind
* @enum
*/
@ -22,6 +22,7 @@ export const MimetypesKind = {
oga: 'audio/ogg',
wav: 'audio/wav',
m3u8: 'application/x-mpegURL',
mpd: 'application/dash+xml',
jpg: 'image/jpeg',
jpeg: 'image/jpeg',
gif: 'image/gif',