Hi Everyone, I have been trying to get swfObject2 to work without success and have got to the point where a second opinion might be all I need. I have set up a test page at: http://www.babelscribe.com/10/scratch.html The html is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="swfobject-2.0.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.width = '320'; flashvars.height = '280'; flashvars.file = 'http://www.babelscribe.com/10/ soft-black-swirls.flv'; flashvars.repeat = 'true'; flashvars.autostart = 'true'; flashvars.controlbar = 'false'; var params = {}; params.allowscriptaccess = 'always'; params.wmode = 'transparent'; params.allowfullscreen = 'false'; var attributes = {}; swfobject.embedSWF('player.swf', 'mediaContent', '320', '280', '9.0.0', '', flashvars, params, attributes); </script> </head> <body> <div id="mediaContent" style="width:320px; height:280px"> <p>Alternative content</p> </div> </body> </html> All the files, namely player.swf, soft-black-swirls.flv, and swfobject-2.0.js, are in the babelscribe.com/10/ directory. I've tried a variety or absolute and relative links When I view the page in Firefox IE or Chrome I get a blank page. Firebug indicates that the object is there but no movie plays. If I right click on the object I get the familiar Flash dialog but the browser locks up. If anybody had a minute to look at this page and comment I'd be most grateful of your time. Many thanks mouli -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
