store clipboard clips as strings
This commit is contained in:
parent
94996ddb86
commit
42a397d84a
4 changed files with 21 additions and 24 deletions
|
|
@ -117,12 +117,7 @@ pandora.ui.clipList = function(videoRatio) {
|
|||
var items = data.ids.map(function(id) {
|
||||
var item = !ui.item ? id.split('/')[0] : ui.item,
|
||||
annotation = that.value(id, 'annotations')[0].id;
|
||||
return {
|
||||
annotation: annotation,
|
||||
'in': that.value(id, 'in'),
|
||||
item: item,
|
||||
out: that.value(id, 'out')
|
||||
}
|
||||
return annotation || item + '/' + that.value(id, 'in') + '-' + that.value(id, 'out');
|
||||
})
|
||||
Ox.Clipboard.copy(items, 'clip');
|
||||
},
|
||||
|
|
@ -130,12 +125,7 @@ pandora.ui.clipList = function(videoRatio) {
|
|||
var items = data.ids.map(function(id) {
|
||||
var item = !ui.item ? id.split('/')[0] : ui.item,
|
||||
annotation = that.value(id, 'annotations')[0].id;
|
||||
return {
|
||||
annotation: annotation,
|
||||
'in': that.value(id, 'in'),
|
||||
item: item,
|
||||
out: that.value(id, 'out')
|
||||
}
|
||||
return annotation || item + '/' + that.value(id, 'in') + '-' + that.value(id, 'out');
|
||||
})
|
||||
Ox.Clipboard.add(items, 'clip');
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue