From 233fd97e87906922360ad5c15db1d9b5193a526d Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 31 Jan 2013 18:42:36 +0530 Subject: [PATCH] fix video markers --- source/Ox.UI/Ox.UI.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 5d399a09..3365857b 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -335,7 +335,10 @@ Ox.load.UI = function(options, callback) { color = color || 'default'; theme = theme || Ox.Theme(); themeData = Ox.Theme.getThemeData(theme); - if (type == 'symbol') { + if (type == 'marker') { + image = image.replace(/#000000/g, themeData['videoMarkerBorder']) + .replace(/#FFFFFF/g, themeData['videoMarkerBackground']); + } else if (type == 'symbol') { if (Ox.isString(color)) { colorName = color; color = themeData['symbol' + Ox.toTitleCase(color) + 'Color'];