@Override
public AbstractMediaPlayer getPlayer(String playerName, String videoId, boolean autoplay, String height, String width)
throws PluginNotFoundException, PluginVersionException {
AbstractMediaPlayer player = null;
PlayerParameters pp = new PlayerParameters();
pp.setAutoplay(autoplay);
if (playerName.equals("YouTube")) {
player = new YouTubePlayer(videoId, width, height);
player.setConfigParameter(YouTubeConfigParameter.URLParameters, pp);
} else if (playerName.equals("Chromeless")) {