mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #944 - Add card views
This commit is contained in:
parent
a1535a341b
commit
c6064c9e96
27 changed files with 321 additions and 69 deletions
|
@ -1119,7 +1119,8 @@
|
|||
html += '<source type="application/x-mpegURL" src="' + hlsVideoUrl + '" />';
|
||||
}
|
||||
|
||||
var mp4BeforeWebm = self.getVideoTranscodingExtension() != '.webm';
|
||||
// Live streams seem to function better with mp4
|
||||
var mp4BeforeWebm = self.getVideoTranscodingExtension() != '.webm' || !mediaSource.RunTimeTicks;
|
||||
|
||||
if (mp4BeforeWebm) {
|
||||
html += '<source type="video/mp4" src="' + mp4VideoUrl + '" />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue