From d3c33782679749bde68a0d148d21cf3d59fc844c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 29 Jun 2015 09:10:12 +0100 Subject: [PATCH] add default video ratio for audio files --- static/js/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/utils.js b/static/js/utils.js index 8741127d..ce2d0cae 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -2020,6 +2020,7 @@ pandora.getVideoOptions = function(data) { }) }); }); + data.videoRatio = data.videoRatio || pandora.site.video.previewRatio; return options; };