diff --git a/static/js/pandora/editor.js b/static/js/pandora/editor.js index 30386bfd..0b5a4426 100644 --- a/static/js/pandora/editor.js +++ b/static/js/pandora/editor.js @@ -191,6 +191,12 @@ pandora.ui.editor = function(data) { pandora.api.setPosterFrame({ id: ui.item, position: data.position + }, function() { + if (pandora.$ui.videoPreview) { + pandora.$ui.videoPreview.options({ + position: data.position + }); + } }); }, removeannotation: function(data) { diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 9d342964..a695119b 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -857,7 +857,6 @@ pandora.ui.infoView = function(data) { // fixme: api slightly inconsistent, this shouldn't be "position" position: selectedImage.index }), function() { - // fixme: update the info (video preview) frame as well var src; pandora.clearIconCache(data.id); Ox.Request.clearCache(); @@ -865,6 +864,11 @@ pandora.ui.infoView = function(data) { src = '/' + data.id + '/icon512.jpg?' + Ox.uid() $icon.attr({src: src}); $reflectionIcon.attr({src: src}); + if (pandora.$ui.videoPreview) { + pandora.$ui.videoPreview.options({ + position: $list.value(selectedImage.index, 'position') + }); + } } $browserImages.each(function() { $(this).attr({src: '/' + data.id + '/' + (