support audio and subtitle tracks (multiple languages etc), first round
This commit is contained in:
parent
0f6d70766f
commit
07fdb094dd
5 changed files with 328 additions and 124 deletions
|
|
@ -43,6 +43,7 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
item: '',
|
||||
items: [],
|
||||
keyboard: '',
|
||||
languages: 'all',
|
||||
out: 0,
|
||||
position: 0,
|
||||
range: 'all',
|
||||
|
|
@ -413,6 +414,9 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
&& item['in'] <= self.options.position
|
||||
&& item.out >= self.options.position
|
||||
)
|
||||
) && (
|
||||
self.options.languages == 'all'
|
||||
|| self.options.languages.indexOf(item.language) > -1
|
||||
) && (
|
||||
self.options.users == 'all'
|
||||
|| self.options.users.indexOf(item.user) > -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue