diff --git a/static/js/embedPlayer.js b/static/js/embedPlayer.js index 81404e0f..659115ae 100644 --- a/static/js/embedPlayer.js +++ b/static/js/embedPlayer.js @@ -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, diff --git a/static/js/embedTimeline.js b/static/js/embedTimeline.js index 8343edc4..d7f72a5d 100644 --- a/static/js/embedTimeline.js +++ b/static/js/embedTimeline.js @@ -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,