use new Ox.VideoElement, add inital player to edits and view as video results view
This commit is contained in:
parent
15be34955e
commit
9cd9611306
16 changed files with 218 additions and 80 deletions
|
|
@ -297,10 +297,14 @@ class Clip(models.Model):
|
|||
data['annotation'] = self.annotation.public_id
|
||||
data['in'] = self.annotation.start
|
||||
data['out'] = self.annotation.end
|
||||
data['parts'] = self.annotation.item.json['parts']
|
||||
data['durations'] = self.annotation.item.json['durations']
|
||||
else:
|
||||
data['item'] = self.item.itemId
|
||||
data['in'] = self.start
|
||||
data['out'] = self.end
|
||||
data['parts'] = self.item.json['parts']
|
||||
data['durations'] = self.item.json['durations']
|
||||
data['duration'] = data['out'] - data['in']
|
||||
return data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue