mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add stats for nerds to video player
This commit is contained in:
parent
b95bd4407c
commit
e1363fc80a
18 changed files with 33 additions and 25 deletions
1
dashboard-ui/bower_components/emby-webcomponents/playback/playmethodhelper.js
vendored
Normal file
1
dashboard-ui/bower_components/emby-webcomponents/playback/playmethodhelper.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
define([],function(){"use strict";function getDisplayPlayMethod(session){return session.TranscodingInfo&&session.TranscodingInfo.IsVideoDirect?"DirectStream":"Transcode"===session.PlayState.PlayMethod?"Transcode":"DirectStream"===session.PlayState.PlayMethod?"DirectPlay":"DirectPlay"===session.PlayState.PlayMethod?"DirectPlay":void 0}return{getDisplayPlayMethod:getDisplayPlayMethod}});
|
Loading…
Add table
Add a link
Reference in a new issue