Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:31:20 +02:00
commit 552aba4271
17 changed files with 46 additions and 46 deletions

View file

@ -81,7 +81,7 @@ Ox.BlockVideoTimeline = function(options, self) {
self.$positionMarker = Ox.$('<img>')
.attr({
src: Ox.getImageURL('markerPosition')
src: Ox.UI.getImageURL('markerPosition')
})
.addClass('OxMarkerPosition')
.appendTo(that);
@ -94,7 +94,7 @@ Ox.BlockVideoTimeline = function(options, self) {
self.$pointMarker[point] = Ox.$('<img>')
.addClass('OxMarkerPoint' + titlecase)
.attr({
src: Ox.getImageURL('marker' + titlecase)
src: Ox.UI.getImageURL('marker' + titlecase)
})
.appendTo(that);
setPointMarker(point);

View file

@ -98,10 +98,10 @@ Ox.LargeVideoTimeline = function(options, self) {
setTimeout(function() {
var $cut = $('<img>')
.addClass('OxCut')
.attr({src: Ox.getImageURL('markerCut')}),
.attr({src: Ox.UI.getImageURL('markerCut')}),
$chapter = $('<img>')
.addClass('OxChapter')
.attr({src: Ox.getImageURL('markerChapter')}),
.attr({src: Ox.UI.getImageURL('markerChapter')}),
chapters = self.options.chapters.slice(1).map(function(chapter) {
return chapter.position;
});
@ -115,7 +115,7 @@ Ox.LargeVideoTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({src: Ox.getImageURL('markerPosition')})
.attr({src: Ox.UI.getImageURL('markerPosition')})
.appendTo(that);
setMarker();
@ -124,7 +124,7 @@ Ox.LargeVideoTimeline = function(options, self) {
var titlecase = Ox.toTitleCase(point);
self.$pointMarker[point] = $('<img>')
.addClass('OxMarkerPoint' + titlecase)
.attr({src: Ox.getImageURL('marker' + titlecase)})
.attr({src: Ox.UI.getImageURL('marker' + titlecase)})
.appendTo(self.$timeline);
setPointMarker(point);
});

View file

@ -127,7 +127,7 @@ Ox.SmallVideoTimeline = function(options, self) {
self.$positionMarker = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.getImageURL('markerPosition')
src: Ox.UI.getImageURL('markerPosition')
})
.appendTo(that);
}
@ -140,7 +140,7 @@ Ox.SmallVideoTimeline = function(options, self) {
self.$pointMarker[point] = $('<img>')
.addClass('OxMarkerPoint' + titlecase)
.attr({
src: Ox.getImageURL('marker' + titlecase)
src: Ox.UI.getImageURL('marker' + titlecase)
})
.appendTo(that);
setPointMarker(point);

View file

@ -552,7 +552,7 @@ Ox.VideoPlayer = function(options, self) {
self.$playIcon = $('<img>')
.addClass('OxPlayIcon OxVideo')
.attr({
src: Ox.getImageURL('symbol' + (
src: Ox.UI.getImageURL('symbol' + (
self.options.paused ? 'Play' : 'Pause'
), 'videoIcon')
})
@ -572,7 +572,7 @@ Ox.VideoPlayer = function(options, self) {
})
.addClass('OxCensoredIcon OxVideo')
.attr({
src: Ox.getImageURL(
src: Ox.UI.getImageURL(
'symbol' + self.options.censoredIcon, 'videoIcon'
)
})
@ -609,7 +609,7 @@ Ox.VideoPlayer = function(options, self) {
self.$pointMarker[point][edge] = $('<img>')
.addClass('OxPointMarker OxPointMarker' + titleCase)
.attr({
src: Ox.getImageURL('marker' + titleCase)
src: Ox.UI.getImageURL('marker' + titleCase)
})
.appendTo(self.$videoContainer);
});
@ -2665,7 +2665,7 @@ Ox.VideoPlayer = function(options, self) {
function togglePlayIcon() {
self.$playIcon.attr({
src: Ox.getImageURL(
src: Ox.UI.getImageURL(
'symbol' + (self.options.paused ? 'Play' : 'Pause'
), 'videoIcon')
});

View file

@ -24,7 +24,7 @@ Ox.VideoPlayerMenu = function(options, self) {
return $item.data().group == group;
}).forEach(function($item) {
$($item.children()[1]).attr({
src: Ox.getImageURL('symbol' + (
src: Ox.UI.getImageURL('symbol' + (
$item.data().id == id ? 'Check' : 'None'
))
});
@ -62,7 +62,7 @@ Ox.VideoPlayerMenu = function(options, self) {
}
$('<div>').html(item.title).appendTo($item);
$('<img>').attr({
src: Ox.getImageURL(
src: Ox.UI.getImageURL(
'symbol' + (item.checked ? 'Check' : 'None')
)
}).appendTo($item);