forked from 0x2620/pandora
pass pandora.clickLink to Ox.AnnotationPanel in embed views, really fixes #1965
This commit is contained in:
parent
d19050756f
commit
bd9f5164b8
2 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,7 @@ pandora.ui.embedPlayer = function() {
|
||||||
+ document.location.hostname + '/'
|
+ document.location.hostname + '/'
|
||||||
+ options.item + '/'
|
+ options.item + '/'
|
||||||
+ Ox.formatDuration($player.options('position'));
|
+ Ox.formatDuration($player.options('position'));
|
||||||
window.open(url, '_blank');
|
window.top.open(url, '_blank');
|
||||||
},
|
},
|
||||||
playing: function(data) {
|
playing: function(data) {
|
||||||
setPosition(data.position, true);
|
setPosition(data.position, true);
|
||||||
|
@ -216,6 +216,7 @@ pandora.ui.embedPlayer = function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$annotations = Ox.AnnotationPanel(Ox.extend({
|
$annotations = Ox.AnnotationPanel(Ox.extend({
|
||||||
|
clickLink: pandora.clickLink,
|
||||||
font: options.annotationsFont,
|
font: options.annotationsFont,
|
||||||
layers: video.annotations,
|
layers: video.annotations,
|
||||||
position: options.position,
|
position: options.position,
|
||||||
|
|
|
@ -99,6 +99,7 @@ pandora.ui.embedTimeline = function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$annotations = Ox.AnnotationPanel(Ox.extend({
|
$annotations = Ox.AnnotationPanel(Ox.extend({
|
||||||
|
clickLink: pandora.clickLink,
|
||||||
font: options.annotationsFont,
|
font: options.annotationsFont,
|
||||||
layers: video.annotations,
|
layers: video.annotations,
|
||||||
position: options.position,
|
position: options.position,
|
||||||
|
|
Loading…
Reference in a new issue