mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add more methods to file system interface
This commit is contained in:
parent
2861ff68c9
commit
7743b36bc9
46 changed files with 421 additions and 504 deletions
|
@ -473,6 +473,9 @@
|
|||
return i.Type == "Video";
|
||||
})[0];
|
||||
|
||||
var h264Codec = 'h264';
|
||||
var h264AudioCodec = 'aac';
|
||||
|
||||
if (videoStream && videoStream.Width) {
|
||||
|
||||
if (videoStream.Width >= 1280) {
|
||||
|
@ -482,14 +485,15 @@
|
|||
else if (videoStream.Width >= 720) {
|
||||
baseParams.videoBitrate = 700000;
|
||||
}
|
||||
|
||||
if ((videoStream.Codec || '').toLowerCase().indexOf('h264') != -1) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Webm must be ahead of mp4 due to the issue of mp4 playing too fast in chrome
|
||||
var prioritizeWebmOverH264 = $.browser.chrome || $.browser.msie;
|
||||
|
||||
var h264Codec = 'h264';
|
||||
var h264AudioCodec = 'aac';
|
||||
|
||||
if (startPosition) {
|
||||
baseParams.StartTimeTicks = startPosition;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue