forked from 0x2620/oxjs
updates for players, timelines and markers
This commit is contained in:
parent
9a7a0acd89
commit
18f117138d
9 changed files with 213 additions and 184 deletions
|
|
@ -28,7 +28,7 @@ Ox.LargeVideoTimeline = function(options, self) {
|
|||
width: 0
|
||||
})
|
||||
.options(options || {})
|
||||
.addClass('OxTimelineLarge')
|
||||
.addClass('OxLargeVideoTimeline')
|
||||
.mouseleave(mouseleave)
|
||||
.mousemove(mousemove)
|
||||
.bindEvent({
|
||||
|
|
@ -75,7 +75,7 @@ Ox.LargeVideoTimeline = function(options, self) {
|
|||
self.$markerPosition = $('<img>')
|
||||
.addClass('OxMarkerPosition')
|
||||
.attr({
|
||||
src: Ox.UI.getImageURL('markerPlay')
|
||||
src: Ox.UI.getImageURL('markerPosition')
|
||||
})
|
||||
.appendTo(that.$element);
|
||||
setMarker();
|
||||
|
|
@ -134,7 +134,7 @@ Ox.LargeVideoTimeline = function(options, self) {
|
|||
|
||||
function setMarker() {
|
||||
self.$markerPosition.css({
|
||||
left: (self.center - 4) + 'px',
|
||||
left: self.center + 'px',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue