add stats for nerds to video player

This commit is contained in:
Luke Pulverenti 2017-06-25 13:49:44 -04:00
parent b95bd4407c
commit e1363fc80a
18 changed files with 33 additions and 25 deletions

View 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}});