mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added mkv stream for chrome
This commit is contained in:
parent
c8c84652b9
commit
31317a0954
1 changed files with 6 additions and 0 deletions
|
@ -150,8 +150,14 @@
|
||||||
audioCodec: 'Vorbis'
|
audioCodec: 'Vorbis'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
var mkvVideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.mkv', $.extend({}, baseParams, {
|
||||||
|
videoCodec: 'h264',
|
||||||
|
audioCodec: 'aac'
|
||||||
|
}));
|
||||||
|
|
||||||
(this).src([
|
(this).src([
|
||||||
{ type: "application/x-mpegURL", src: hlsVideoUrl },
|
{ type: "application/x-mpegURL", src: hlsVideoUrl },
|
||||||
|
{ type: "video/x-matroska", src: mkvVideoUrl },
|
||||||
{ type: "video/webm", src: webmVideoUrl },
|
{ type: "video/webm", src: webmVideoUrl },
|
||||||
{ type: "video/mp4", src: mp4VideoUrl },
|
{ type: "video/mp4", src: mp4VideoUrl },
|
||||||
{ type: "video/mp2t; codecs='h264, aac'", src: tsVideoUrl },
|
{ type: "video/mp2t; codecs='h264, aac'", src: tsVideoUrl },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue