diff --git a/source/Ox.UI/js/Core/LoadingIcon.js b/source/Ox.UI/js/Core/LoadingIcon.js index e5ea4b2b..dab5c716 100644 --- a/source/Ox.UI/js/Core/LoadingIcon.js +++ b/source/Ox.UI/js/Core/LoadingIcon.js @@ -13,11 +13,17 @@ Ox.LoadingIcon = function(options, self) { self = self || {}; var that = Ox.Element('', self) .defaults({ - size: 16 + size: 16, + video: false }) .options(options || {}) .addClass('OxLoadingIcon') - .attr({src: Ox.UI.getImageURL('symbolLoading')}); + .attr({ + src: Ox.UI.getImageURL( + 'symbolLoading', + self.options.video ? [255, 255, 255] : null + ) + }); Ox.isNumber(self.options.size) ? that.css({width: self.options.size, height: self.options.size}) diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index f28fed3e..602607a6 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -489,7 +489,7 @@ Ox.VideoPlayer = function(options, self) { ---------------------------------------------------------------------------- */ - self.$loadingIcon = Ox.LoadingIcon() + self.$loadingIcon = Ox.LoadingIcon({video: true}) .appendTo(self.$videoContainer) .start();