video loading icon should always be white
This commit is contained in:
parent
7eed2b3f51
commit
f2d93c7001
2 changed files with 9 additions and 3 deletions
|
@ -13,11 +13,17 @@ Ox.LoadingIcon = function(options, self) {
|
|||
self = self || {};
|
||||
var that = Ox.Element('<img>', 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})
|
||||
|
|
|
@ -489,7 +489,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
self.$loadingIcon = Ox.LoadingIcon()
|
||||
self.$loadingIcon = Ox.LoadingIcon({video: true})
|
||||
.appendTo(self.$videoContainer)
|
||||
.start();
|
||||
|
||||
|
|
Loading…
Reference in a new issue