mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
added mkv stream for chrome
This commit is contained in:
parent
c8c84652b9
commit
31317a0954
@ -150,8 +150,14 @@
|
||||
audioCodec: 'Vorbis'
|
||||
}));
|
||||
|
||||
var mkvVideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.mkv', $.extend({}, baseParams, {
|
||||
videoCodec: 'h264',
|
||||
audioCodec: 'aac'
|
||||
}));
|
||||
|
||||
(this).src([
|
||||
{ type: "application/x-mpegURL", src: hlsVideoUrl },
|
||||
{ type: "video/x-matroska", src: mkvVideoUrl },
|
||||
{ type: "video/webm", src: webmVideoUrl },
|
||||
{ type: "video/mp4", src: mp4VideoUrl },
|
||||
{ type: "video/mp2t; codecs='h264, aac'", src: tsVideoUrl },
|
||||
|
Loading…
Reference in New Issue
Block a user