1
0
Fork 0
forked from 0x2620/oxjs

use svg video markers

This commit is contained in:
rlx 2011-09-02 00:32:23 +00:00
commit 9a7a0acd89
24 changed files with 55 additions and 29 deletions

View file

@ -64,7 +64,7 @@ Ox.LargeVideoTimeline = function(options, self) {
self.$cuts[i] = $('<img>')
.addClass('OxCut')
.attr({
src: Ox.UI.PATH + 'png/videoMarkerCut.png'
src: Ox.UI.getImageURL('markerCut')
})
.css({
left: (v * self.fps) + 'px'
@ -75,7 +75,7 @@ Ox.LargeVideoTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
src: Ox.UI.getImageURL('markerPlay')
})
.appendTo(that.$element);
setMarker();
@ -85,7 +85,7 @@ Ox.LargeVideoTimeline = function(options, self) {
self.$pointMarker[point] = $('<img>')
.addClass('OxMarkerPoint' + titlecase)
.attr({
src: Ox.UI.PATH + 'png/videoMarker' + titlecase + '.png'
src: Ox.UI.getImageURL('marker' + titlecase)
})
.appendTo(self.$timeline);
setPointMarker(point);