public AbstractMediaPlayer getPlayer(String name, String url, boolean autoplay, String width,
String height, HashMap<String, String> options) throws LoadException, PluginNotFoundException, PluginVersionException {
String _provider = null, _pName = null;
try {
RegExp re = RegExp.getRegExp("((\\w+):)?(\\w+)", "");
RegExp.RegexResult rr = re.exec(name);
_provider = rr.getMatch(2);
if ((_provider == null) || (_provider.length() == 0)) {
_provider = "api";
}
_pName = rr.getMatch(3);