]> source.dussan.org Git - vaadin-framework.git/commitdiff
#3911 Embedded flash does not support fullscreen
authorArtur Signell <artur.signell@itmill.com>
Tue, 25 Jan 2011 12:07:56 +0000 (12:07 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 25 Jan 2011 12:07:56 +0000 (12:07 +0000)
svn changeset:17016/svn branch:6.5

src/com/vaadin/terminal/gwt/client/ui/VEmbedded.java

index 6fe8c60e31258e0241ca9e92c3c9446856b932b0..836d31cf41d3f3f0c23eba36e4683ac0bd533c09 100644 (file)
@@ -132,8 +132,9 @@ public class VEmbedded extends HTML implements Paintable {
         } else if (uidl.hasAttribute("mimetype")) {
             final String mime = uidl.getStringAttribute("mimetype");
             if (mime.equals("application/x-shockwave-flash")) {
-                String html = "<object width=\"" + width + "\" height=\""
-                        + height + "\">";
+                String html = "<object "
+                        + "type=\"application/x-shockwave-flash\" "
+                        + "width=\"" + width + "\" height=\"" + height + "\">";
 
                 Map<String, String> parameters = getParameters(uidl);
                 if (parameters.get("movie") == null) {