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 + '/'
|
||||
+ options.item + '/'
|
||||
+ Ox.formatDuration($player.options('position'));
|
||||
window.open(url, '_blank');
|
||||
window.top.open(url, '_blank');
|
||||
},
|
||||
playing: function(data) {
|
||||
setPosition(data.position, true);
|
||||
|
@ -216,6 +216,7 @@ pandora.ui.embedPlayer = function() {
|
|||
});
|
||||
}
|
||||
$annotations = Ox.AnnotationPanel(Ox.extend({
|
||||
clickLink: pandora.clickLink,
|
||||
font: options.annotationsFont,
|
||||
layers: video.annotations,
|
||||
position: options.position,
|
||||
|
|
|
@ -99,6 +99,7 @@ pandora.ui.embedTimeline = function() {
|
|||
});
|
||||
}
|
||||
$annotations = Ox.AnnotationPanel(Ox.extend({
|
||||
clickLink: pandora.clickLink,
|
||||
font: options.annotationsFont,
|
||||
layers: video.annotations,
|
||||
position: options.position,
|
||||
|
|
Loading…
Reference in a new issue