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
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue