diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 5894bc67..d7ba68f4 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -91,9 +91,10 @@ Ox.VideoElement = function(options, self) { item.points = points; } item.$videos = src.map(function(src, i) { - // in all browsers except firefox, + //fixme: get rid of this to make use of browser caching + // but in all browsers except firefox, // loadedmetadata fires only once per src - if (Ox.startsWith(Ox.parseURL(src).protocol, 'http')) { + if (src.length > 0 && Ox.startsWith(Ox.parseURL(src).protocol, 'http')) { src += '?' + Ox.uid(); } return $('