Commit 74c1d1c5 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

Merge pull request #23 from flowplayer/issue22

Issue #22: ipad: reinstate validExtensions variable
parents 0c0b7813 05809ae4
......@@ -96,7 +96,7 @@ $f.addPlugin("ipad", function(options) {
extend(opts, options);
var validExtensions = validExtensions ? new RegExp('^\.(' + opts.validExtensions + ')$', 'i') : null;
var validExtensions = opts.validExtensions ? new RegExp('^\.(' + opts.validExtensions + ')$', 'i') : null;
var posterExtensions = new RegExp('^\.(' + opts.posterExtensions + ')$', 'i');
// some util funcs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment