} catch (Exception e) {
log.debug("Can't get width for {}: {}", audioUrl, e);
width = 400;
}
}
AudioPlayerPanel player = new AudioPlayerPanel(wicketId, audioUrl, width, 20);
player.setShowDownloadLink(false);
player.setRenderBodyOnly(true);
String preview = elt.getAttribute("poster");
if (!Strings.isEmpty(preview))
player.setPreview(getRelativeRef(preview));
return player;
} else if (wicketId.startsWith("swf_")) {