Hi,
I need to create a code similar to this one with the updateEmbed function:
------------
<object data="../_public/FlowPlayerLight.swf" width="400" height="250"
type="application/x-shockwave-flash">
<param name="movie" value="FlowPlayerLight.swf" />
<param name="flashvars" value="config={videoFile: 'http://www.mediacollege.com/video-gallery/testclips/20051210-w50s.flv'}" />
</object>
----------
I'm able to create most of the code with this:
-----------
function UpdateEmbed( e ) {
e.src = GetE('txtUrl').value ;
SetAttribute( e, 'data', '../_public/FlowPlayerLight.swf');
SetAttribute( e, 'type', 'application/x-shockwave-flash' ) ;
SetAttribute( e, "width" , "400px" ) ;
SetAttribute( e, "height", "250px" ) ;
--------
but I have no idea how to create the param code.
------
<param name="movie" value="FlowPlayerLight.swf" />
<param name="flashvars" value="config={videoFile: 'http://www.mediacollege.com/video-gallery/testclips/20051210-w50s.flv'}" />
------
If I insert characters like " or < and >, it replaces that characters with it's html code and the code ends up wrong.
Is it possible to do what I want?
Is there any specific function to get that?
Thanks a lit in advance.
Martín
Fri, 08/08/2008 - 08:17
#1