Its actually for vimeo. i am using the api to get some videos back and they
return the embed code but their api wont return the embed in the size i want
it.  for some reason they return the embed in proportion with the size of
the actual video, not in the dimensions that i am requesting it so i am
trying to resize it when i load it.

  _____  

From: Daniel Lohse [mailto:[email protected]] 
Sent: Thursday, 22 October 2009 1:30 AM
To: [email protected]
Subject: [Moo] Re: Setting the dimensions of a flash movie


Maybe you should take a look at the Swiff component? Or the iFrame
component? 

What are you trying to do? Looks like a flash player. What do you need the
object tag for?


Daniel

On 2009-10-21, at 21/October, 3:10 PM, Steve Onnis wrote:


I am trying to set the width and height of an <object> tag that is being
returned through a JSON request.
 
this is what i am doing..
 
$("video").set("html", response.html);
$("video").getElement("object").setProperty("height", "385");
$("video").getElement("object").setProperty("width", "605");
 
 
Works fine in FireFox but am getting an "Object does not support this method
or property" error in IE
 
Any suggestions?
 
Steve
 


Reply via email to