cosmetic changes
This commit is contained in:
parent
daa17326db
commit
d64f499034
1 changed files with 102 additions and 106 deletions
|
@ -56,7 +56,7 @@ Ox.VideoPanel = function(options, self) {
|
||||||
height: 0,
|
height: 0,
|
||||||
'in': 0,
|
'in': 0,
|
||||||
layers: [],
|
layers: [],
|
||||||
loop: false, // fixme: used?
|
loop: false,
|
||||||
muted: false,
|
muted: false,
|
||||||
out: 0,
|
out: 0,
|
||||||
paused: true,
|
paused: true,
|
||||||
|
@ -70,7 +70,7 @@ Ox.VideoPanel = function(options, self) {
|
||||||
showAnnotationsCalendar: false,
|
showAnnotationsCalendar: false,
|
||||||
showAnnotationsMap: false,
|
showAnnotationsMap: false,
|
||||||
showLayers: {},
|
showLayers: {},
|
||||||
showTimeline: true,
|
showTimeline: false,
|
||||||
showUsers: false,
|
showUsers: false,
|
||||||
smallTimelineURL: '',
|
smallTimelineURL: '',
|
||||||
subtitles: [],
|
subtitles: [],
|
||||||
|
@ -137,11 +137,7 @@ Ox.VideoPanel = function(options, self) {
|
||||||
|
|
||||||
self.fullscreen = false;
|
self.fullscreen = false;
|
||||||
|
|
||||||
self.$player = Ox.Element()
|
self.$player = Ox.Element().css({overflow: 'hidden'});
|
||||||
.css({
|
|
||||||
overflowX: 'hidden',
|
|
||||||
overflowY: 'hidden'
|
|
||||||
});
|
|
||||||
|
|
||||||
self.$video = Ox.VideoPlayer({
|
self.$video = Ox.VideoPlayer({
|
||||||
annotations: getAnnotations(),
|
annotations: getAnnotations(),
|
||||||
|
@ -234,7 +230,7 @@ Ox.VideoPanel = function(options, self) {
|
||||||
out: self.options.out,
|
out: self.options.out,
|
||||||
position: self.options.position,
|
position: self.options.position,
|
||||||
subtitles: self.options.enableSubtitles ? self.options.subtitles : [],
|
subtitles: self.options.enableSubtitles ? self.options.subtitles : [],
|
||||||
videoId: self.options.videoId,
|
videoId: self.options.videoId, // fixme: not in defaults
|
||||||
type: self.options.timeline,
|
type: self.options.timeline,
|
||||||
width: getTimelineWidth()
|
width: getTimelineWidth()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue