From a0bb5264c7c1b4c00b3b977321a7492027324327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <34163393+amtins@users.noreply.github.com> Date: Wed, 2 Mar 2022 16:36:25 +0100 Subject: [PATCH] feat: Assume DASH MIME type when an MPD source URL is given (#7602) --- src/js/utils/mimetypes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/utils/mimetypes.js b/src/js/utils/mimetypes.js index 650e3eb057..8e0ba34879 100644 --- a/src/js/utils/mimetypes.js +++ b/src/js/utils/mimetypes.js @@ -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',