1
0
Fork 0
forked from 0x2620/oxjs

updates for players, timelines and markers

This commit is contained in:
rlx 2011-09-02 03:28:43 +00:00
commit 18f117138d
9 changed files with 213 additions and 184 deletions

View file

@ -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',
});
}