Hi,
The plugin works just fine. I was reading the documentation but I am not sure where to add the code to change the message in the pop up window
In other words the default message says embed this video on your website
Where or how can I change this
Thanks,
John
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','ply','470','320','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
var embedCode = escape('<embed src="http://www.somedomain.com/player.swf" width="470" height="320" bgcolor="000000" allowfullscreen="true" allowscriptaccess="always" flashvars="config=http://www.somedomain.com/config.xml"></embed>');
s1.addVariable('file', 'videl.flv');
s1.addVariable('plugins', 'embed-1');
s1.addVariable('skin', 'embedSkin.swf');
s1.addVariable('embed.code', embedCode);
s1.addVariable('embed.title', 'Put it on your site');
s1.write('preview');
</script>
Or in the original example change this line:
s1.addParam("flashvars",'file=video.flv&plugins=embed-1&skin=embedSkin.swf&embed.code='+embedCode);
To this:
s1.addParam("flashvars",'file=video.flv&plugins=embed-1&skin=embedSkin.swf&embed.code='+embedCode+'&embed.title=Put it on your site');
You should also change the embed code to something more standards conforming.