forked from 0x2620/oxjs
use svg video markers
This commit is contained in:
parent
12423e7b03
commit
9a7a0acd89
24 changed files with 55 additions and 29 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue