1
0
Fork 0
forked from 0x2620/oxjs

add subtitlesOffset

This commit is contained in:
j 2015-04-14 15:50:52 +01:00
commit 28d8271174
4 changed files with 11 additions and 1 deletions

View file

@ -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,