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));
var isFrame = options['in'] !== void 0 && (
options['in'] == options.out
|| options['in'] == video.duration
),
Ox.print('OPTIONS::::::::', options)
var isFrame = options['in'] && options['in'] == options.out,
sizes = getSizes();
options.height = sizes.videoHeight;