Commit 05809ae4 authored by Christian Ebert's avatar Christian Ebert
Browse files

Issue #22: ipad: reinstate validExtensions variable

http://code.google.com/p/flowplayer-plugins/source/detail?r=1968
accidentally set validExtensions always to null, thus disabling
all file suffix checking and also preventing poster creation by
playlist based splash image setups.
parent 0c0b7813
......@@ -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