parameters.put("movie", getSrc(uidl, client));
}
+ // Add the parameters to the Object
for (String name : parameters.keySet()) {
html += "<param name=\"" + escapeAttribute(name)
+ "\" value=\""
}
html += "<embed src=\"" + getSrc(uidl, client) + "\" width=\""
- + width + "\" height=\"" + height + "\"></embed>";
+ + width + "\" height=\"" + height + "\" ";
- html += "</object>";
+ // Add the parameters to the Embed
+ for (String name : parameters.keySet()) {
+ html += escapeAttribute(name) + "=\""
+ + escapeAttribute(parameters.get(name)) + "\" ";
+ }
+
+ html += "></embed></object>";
setHTML(html);
} else if (mime.equals("image/svg+xml")) {
String data;