diff --git a/static/js/mediaView.js b/static/js/mediaView.js index 2f0d1b9c5..7ff2778ab 100644 --- a/static/js/mediaView.js +++ b/static/js/mediaView.js @@ -202,6 +202,24 @@ pandora.ui.mediaView = function(options) { visible: true, width: 90 }, + { + align: 'right', + format: function(value) { + value = value.split(':').map(function(v) { + return Math.round(v); + }); + console.log(value); + return (value[1] != 1 + ? Ox.formatNumber(value[0] / (value[1] || 1), 2) + : value[0] + ) + ' fps'; + }, + id: 'framerate', + operator: '-', + title: Ox._('Framerate'), + visible: true, + width: 70 + }, { align: 'right', format: {type: 'duration', args: [0, 'short']},