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

@ -100,13 +100,13 @@ Ox.SmallVideoTimeline = function(options, self) {
} else {
self.$positionMarker = $('<img>')
.attr({
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
src: Ox.UI.getImageURL('markerPlay')
})
.css({
position: 'absolute',
top: '2px',
width: '9px',
height: '5px',
height: '9px',
zIndex: 10
})
.appendTo(that.$element);
@ -116,11 +116,11 @@ Ox.SmallVideoTimeline = function(options, self) {
if (self.options.type == 'editor') {
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',