});
}
@Override
protected void onLoad() {
PlayerWidget pwidget = new PlayerWidget(YouTubePlayerProvider.PROVIDER_NAME, getPlayerName(), playerId,
getNormalizedVideoAppURL(_vid, pParams), false);
pwidget.addParam("allowScriptAccess", "always");
pwidget.addParam("bgcolor", "#000000");
pwidget.addParam("allowFullScreen", "true");
Iterator<String> pm = configParam.keySet().iterator();
while (pm.hasNext()) {
String p = pm.next();
pwidget.addParam(p, configParam.get(p));
}
((SimplePanel) getWidget()).setWidget(pwidget);
pwidget.setSize("100%", _height);
setWidth(_width);
}