add layer option to populate default value for new annotations

This commit is contained in:
j 2018-10-09 16:32:35 +02:00
commit d7fa7efcbc
3 changed files with 15 additions and 2 deletions

View file

@ -1274,6 +1274,15 @@ pandora.getClipVideos = function(clip, resolution) {
}));
};
pandora.getCurrentFrameAnnotation = function(data) {
var ui = pandora.user.ui,
position = ui.videoPoints[ui.item].position,
resolution = Ox.max(pandora.site.video.resolutions);
return {
value: '<img src="/' + ui.item + '/' + resolution + 'p' + position + '.jpg">\n\n'
};
};
(function() {
var itemTitles = {}, documentTitles = {};
pandora.getWindowTitle = function(itemData) {