change 'isFrame' semantics in embed player, fixes #1494

This commit is contained in:
rolux 2013-08-27 12:01:02 +00:00
parent 140ea896d1
commit 9ebf8140ed

View file

@ -36,10 +36,8 @@ pandora.ui.embedPlayer = function() {
} }
video = Ox.extend(result.data, pandora.getVideoOptions(result.data)); video = Ox.extend(result.data, pandora.getVideoOptions(result.data));
var isFrame = options['in'] !== void 0 && ( Ox.print('OPTIONS::::::::', options)
options['in'] == options.out var isFrame = options['in'] && options['in'] == options.out,
|| options['in'] == video.duration
),
sizes = getSizes(); sizes = getSizes();
options.height = sizes.videoHeight; options.height = sizes.videoHeight;