forked from 0x2620/pandora
change 'isFrame' semantics in embed player, fixes #1494
This commit is contained in:
parent
140ea896d1
commit
9ebf8140ed
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue