use new getImageURL method

This commit is contained in:
rolux 2012-12-28 17:58:01 +01:00
parent b9387eb26f
commit 9efb64e620

View file

@ -499,7 +499,7 @@ Ox.VideoPlayer = function(options, self) {
.attr({ .attr({
src: Ox.UI.getImageURL('symbol' + ( src: Ox.UI.getImageURL('symbol' + (
self.options.paused ? 'Play' : 'Pause' self.options.paused ? 'Play' : 'Pause'
), 'modern') ), 'video')
}) })
.appendTo(self.$videoContainer); .appendTo(self.$videoContainer);
if (self.options.showIcon) { if (self.options.showIcon) {
@ -517,7 +517,9 @@ Ox.VideoPlayer = function(options, self) {
}) })
.addClass('OxCensoredIcon OxVideo') .addClass('OxCensoredIcon OxVideo')
.attr({ .attr({
src: Ox.UI.getImageURL('symbol' + self.options.censoredIcon, 'modern') src: Ox.UI.getImageURL(
'symbol' + self.options.censoredIcon, 'video'
)
}) })
.hide() .hide()
.bindEvent({ .bindEvent({
@ -2381,7 +2383,7 @@ Ox.VideoPlayer = function(options, self) {
self.$playIcon.attr({ self.$playIcon.attr({
src: Ox.UI.getImageURL( src: Ox.UI.getImageURL(
'symbol' + (self.options.paused ? 'Play' : 'Pause' 'symbol' + (self.options.paused ? 'Play' : 'Pause'
), 'modern') ), 'video')
}); });
} }