support audioTrack in VideoTimelinePanel
This commit is contained in:
parent
00e6367ca9
commit
78e285bb12
2 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,7 @@ Ox.VideoTimelinePanel <f> Video timeline panel
|
|||
annoationssize <!> annoationssize
|
||||
annotationsrange <!> annotationsrange
|
||||
annotationssort <!> annotationssort
|
||||
audioTrack <s|''> Two-letter ISO 639-1 language code or track name
|
||||
censored <!> censored
|
||||
follow <!> follow
|
||||
info <!> info
|
||||
|
@ -36,6 +37,7 @@ Ox.VideoTimelinePanel = function(options, self) {
|
|||
annotationsSize: 256,
|
||||
annotationsSort: 'position',
|
||||
annotationsTooltip: 'annotations',
|
||||
audioTrack: '',
|
||||
censored: [],
|
||||
censoredIcon: '',
|
||||
censoredTooltip: '',
|
||||
|
@ -107,6 +109,7 @@ Ox.VideoTimelinePanel = function(options, self) {
|
|||
});
|
||||
|
||||
self.$player = Ox.VideoTimelinePlayer({
|
||||
audioTrack: self.options.audioTrack,
|
||||
censored: self.options.censored,
|
||||
censoredIcon: self.options.censoredIcon,
|
||||
censoredTooltip: self.options.censoredTooltip,
|
||||
|
|
|
@ -18,6 +18,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self = self || {};
|
||||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
audioTrack: '',
|
||||
censored: [],
|
||||
censoredIcon: '',
|
||||
censoredTooltip: '',
|
||||
|
@ -305,6 +306,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
.appendTo(self.$timelines[self.videoLines[1]][0]);
|
||||
|
||||
self.$frame = Ox.VideoPlayer({
|
||||
audioTrack: self.options.audioTrack,
|
||||
censored: self.options.censored,
|
||||
censoredIcon: self.options.censoredIcon,
|
||||
censoredTooltip: self.options.censoredTooltip,
|
||||
|
@ -347,6 +349,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
.appendTo(self.$timelines[self.videoLines[0]][0]);
|
||||
|
||||
self.$video = Ox.VideoPlayer({
|
||||
audioTrack: self.options.audioTrack,
|
||||
censored: self.options.censored,
|
||||
censoredIcon: self.options.censoredIcon,
|
||||
censoredTooltip: self.options.censoredTooltip,
|
||||
|
|
Loading…
Reference in a new issue