Revision: 4404
Author: [email protected]
Date: Tue Mar 22 22:29:39 2011
Log: workaround for Flash sizing problem
http://codereview.appspot.com/4298057
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.
[email protected]
http://code.google.com/p/google-caja/source/detail?r=4404
Modified:
/trunk/src/com/google/caja/demos/playground/examples/flash.html
=======================================
--- /trunk/src/com/google/caja/demos/playground/examples/flash.html Mon Mar
21 12:14:40 2011
+++ /trunk/src/com/google/caja/demos/playground/examples/flash.html Tue Mar
22 22:29:39 2011
@@ -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