Fixes HLS .m3u8 and DASH .mpd extension
HLS uses a playlist .m3u8 file to provide video content Transport Segments (.ts) files. DASH uses a playlist .mpd file to provide video content of a few different containers.
This commit is contained in:
parent
d4bec79451
commit
33c7c3ee12
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,7 @@ types_map = {
|
||||||
'.latex': ('application/x-latex', 'binary'),
|
'.latex': ('application/x-latex', 'binary'),
|
||||||
'.m1v': ('video/mpeg', 'video'),
|
'.m1v': ('video/mpeg', 'video'),
|
||||||
'.m3u': ('application/vnd.apple.mpegurl', 'audio'),
|
'.m3u': ('application/vnd.apple.mpegurl', 'audio'),
|
||||||
'.m3u8': ('application/vnd.apple.mpegurl', 'audio'),
|
'.m3u8': ('application/vnd.apple.mpegurl', 'video'),
|
||||||
'.man': ('application/x-troff-man', 'document'),
|
'.man': ('application/x-troff-man', 'document'),
|
||||||
'.markdown': ('text/markdown', 'document'),
|
'.markdown': ('text/markdown', 'document'),
|
||||||
'.md': ('text/markdown', 'document'),
|
'.md': ('text/markdown', 'document'),
|
||||||
|
@ -61,6 +61,7 @@ types_map = {
|
||||||
'.mp3': ('audio/mpeg', 'audio'),
|
'.mp3': ('audio/mpeg', 'audio'),
|
||||||
'.mp4': ('video/mp4', 'video'),
|
'.mp4': ('video/mp4', 'video'),
|
||||||
'.mpa': ('video/mpeg', 'video'),
|
'.mpa': ('video/mpeg', 'video'),
|
||||||
|
'.mpd': ('application/dash+xml', 'video'),
|
||||||
'.mpe': ('video/mpeg', 'video'),
|
'.mpe': ('video/mpeg', 'video'),
|
||||||
'.mpeg': ('video/mpeg', 'video'),
|
'.mpeg': ('video/mpeg', 'video'),
|
||||||
'.mpg': ('video/mpeg', 'video'),
|
'.mpg': ('video/mpeg', 'video'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue