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

@ -62,12 +62,12 @@ Ox.BlockVideoTimeline = function(options, self) {
self.$positionMarker = $('<img>')
.attr({
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
src: Ox.UI.getImageURL('markerPlay')
})
.css({
position: 'absolute',
width: '9px',
height: '5px',
height: '9px',
zIndex: 10
})
.appendTo(that.$element);
@ -75,11 +75,11 @@ Ox.BlockVideoTimeline = function(options, self) {
self.$pointMarker = {};
['in', 'out'].forEach(function(point) {
var titleCase = Ox.toTitleCase(point);
var titlecase = Ox.toTitleCase(point);
self.$pointMarker[point] = $('<img>')
.addClass('OxPointMarker' + titleCase)
.addClass('OxPointMarker' + titlecase)
.attr({
src: Ox.UI.PATH + 'png/videoMarker' + titleCase + '.png'
src: Ox.UI.getImageURL('marker' + titlecase)
})
.css({
position: 'absolute',