I've tried a few ways but nothing seems to work. What I'd like to do is have my users post video's with the given embed code (example):
<object id="cnbcplayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="380" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="type" value="application/x-shockwave-flash" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<param name="salign" value="lt" />
<param name="src" value="http://plus.cnbc.com/rssvideosearch/action/player/id/1398301408/code/cnbcplayershare" />
<param name="name" value="cnbcplayer" />
<embed id="cnbcplayer"
type="application/x-shockwave-flash"
width="400"
height="380"
src="http://plus.cnbc.com/rssvideosearch/action/player/id/1398301408/code/cnbcplayershare"
name="cnbcplayer"
salign="lt"
bgcolor="#000000"
wmode="transparent"
scale="noscale" quality="best"
allowscriptaccess="always" allowfullscreen="true">
</embed>
But then, I want to resize it to be 300px wide. I've tried updating the attributes with jQuery but that didn't work. Any ideas on what could solve this?
Thanks