Reviewers: jasvir,

Description:
the playground's Flash demo looks bad because the "natural" size of
the youtube video is larger than the dimensions given to embedSWF.
normally the video will resize itself to the bounding box, but
something about flashbridge causes that to not work.

I'm going to open a bug on that, but in the meantime this change
just makes the embed the expected size.

Please review this at http://codereview.appspot.com/4298057/

Affected files:
  M     src/com/google/caja/demos/playground/examples/flash.html


Index: src/com/google/caja/demos/playground/examples/flash.html
===================================================================
--- src/com/google/caja/demos/playground/examples/flash.html    (revision 4403)
+++ src/com/google/caja/demos/playground/examples/flash.html    (working copy)
@@ -18,7 +18,7 @@
     var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/v/0AqMb-edXlc";, // Flash video
                        "ytapiplayer", // id of div to place flash object
-                       "425", "356",  // width and height
+                       "480", "390",  // width and height
                        "8",           // minimum version
                        null,          // expressInstall
null, params, atts, // flashvars, params and attributes


Reply via email to