diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 9aa4c683..de2eefe7 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -295,7 +295,7 @@ Ox.load.UI = function(options, callback) { 'ogg': 'video/ogg; codecs="theora, vorbis"', 'webm': 'video/webm; codecs="vp8, vorbis"' }, - userAgent = navigator.userAgent.toLowerCase(); + userAgent = navigator.userAgent.toLowerCase(), video = document.createElement('video'); Ox.forEach(formats, function(f) { var alias = aliases[f] || f; @@ -399,4 +399,4 @@ Ox.load.UI = function(options, callback) { } -}; \ No newline at end of file +};