no globals

This commit is contained in:
j 2011-10-08 11:10:01 +02:00
parent 02838540db
commit 06ecd17cc6

View file

@ -295,7 +295,7 @@ Ox.load.UI = function(options, callback) {
'ogg': 'video/ogg; codecs="theora, vorbis"', 'ogg': 'video/ogg; codecs="theora, vorbis"',
'webm': 'video/webm; codecs="vp8, vorbis"' 'webm': 'video/webm; codecs="vp8, vorbis"'
}, },
userAgent = navigator.userAgent.toLowerCase(); userAgent = navigator.userAgent.toLowerCase(),
video = document.createElement('video'); video = document.createElement('video');
Ox.forEach(formats, function(f) { Ox.forEach(formats, function(f) {
var alias = aliases[f] || f; var alias = aliases[f] || f;