add layer option to populate default value for new annotations
This commit is contained in:
parent
1d40ceca8f
commit
d7fa7efcbc
3 changed files with 15 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue