use iconHeight
This commit is contained in:
parent
6d6644ef76
commit
7ae2ffb898
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ pandora.ui.infoView = function(data) {
|
||||||
getFrame: function(position) {
|
getFrame: function(position) {
|
||||||
var resolutions = pandora.site.video.resolutions.filter(
|
var resolutions = pandora.site.video.resolutions.filter(
|
||||||
function(resolution, i) {
|
function(resolution, i) {
|
||||||
return resolution >= data.height;
|
return resolution >= iconHeight;
|
||||||
}),
|
}),
|
||||||
resolution = resolutions.length
|
resolution = resolutions.length
|
||||||
? Ox.min(resolutions)
|
? Ox.min(resolutions)
|
||||||
|
|
Loading…
Reference in a new issue