I created a quick page including the script and a "embedSWF" call.
After doing so, however, none of my html prior to the "embedSWF" call
shows up.  In addition, no javascript prior to it executes.  What am I
missing?  No Javascript errors, issue occurs both in IE8 and Firefox,
if I look at the source the content below is there.   Interestingly
though if I look at the DOM tree in Firefox (Firebug), it is empty.

Thanks,

Bob

Source
------------------------------------------------
<html>
        <head>
                <script type="text/javascript" src="swfobject.js"/>
        </head>
        <body>
                <div id="video1" style="clear:both">
                        <p>Video not loading? You may need to download <a 
href="http://
get.adobe.com/flashplayer/">Adobe Flashplayer</a>.</p>
                </div>
                <p>In HTML prior to the script, this does not show up</p>
                <script type="text/javascript">
                        alert(In the script before embed!  This does not show 
up.');
                        swfobject.embedSWF("test.flv", "video1", "320", "240", 
"9.0.0");
                        alert('In the script after the embed!  This does not 
show up.');
                </script>
                <p>In HTML after the script, this is the only thing that shows 
up</
p>
                <script type="text/javascript">
                        alert(In a script after embed!  This does show up.');
                </script>
        </body>
</head>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to swfobject@googlegroups.com.
To unsubscribe from this group, send email to 
swfobject+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to