add subtitlesOffset
This commit is contained in:
parent
398e3f6749
commit
28d8271174
4 changed files with 11 additions and 1 deletions
|
|
@ -92,6 +92,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
subtitles: [],
|
||||
subtitlesDefaultTrack: 'en',
|
||||
subtitlesLayer: null,
|
||||
subtitlesOffset: 0,
|
||||
subtitlesTrack: 'en',
|
||||
timeline: '',
|
||||
timelines: [],
|
||||
|
|
@ -404,6 +405,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
sizeIsLarge: self.options.videoSize == 'large',
|
||||
subtitles: Ox.clone(self.options.subtitles, true),
|
||||
subtitlesDefaultTrack: self.options.subtitlesDefaultTrack,
|
||||
subtitlesOffset: self.options.subtitlesOffset,
|
||||
subtitlesTrack: self.options.subtitlesTrack,
|
||||
type: type,
|
||||
video: type == 'play' ? self.options.video : self.options.getFrameURL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue