fabriciocs / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Getting an error on line 5 (line 444 un-compressed) #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using IE7, on a PC running Windows XP SP2.
2. Browsing to any page with more than one YouTube-video embedded.
3. Trying to leave the page I get an error on line 5, around "return
g.getElementById(i)"

I get the expected output:

For example:
<div id="youtube_17">
<img src="/img/youtube_fallback.gif" alt="" />
</div>
<script type="text/javascript">                         
swfobject.embedSWF("http://www.youtube.com/v/5hmNuHS3FvU&amp;enablejsapi=1&amp;p
layerapiid=ytplayer",
"youtube_17", "240", "200", "8.0.0", false, false, { allowScriptAccess:
"never", wmode: "transparent" }, { id: "youtube_17" });
</script>

<div id="youtube_156">
<img src="/img/youtube_fallback.gif" alt="" />
</div>
<script type="text/javascript">
swfobject.embedSWF("http://www.youtube.com/v/PEOAmUE6AAs&amp;enablejsapi=1&amp;p
layerapiid=ytplayer",
"youtube_156", "240", "200", "8.0.0", false, false, { allowScriptAccess:
"never", wmode: "transparent" }, { id: "youtube_156" });
</script>

Since it's a .NET 2.0 project it's nested in a <form>-tag, which might have
something to do with it. 

Before I got this error even when I only had one flash embeded so I tried
the swfformfix.js which eliminated the error on pages with just one flash.

Original issue reported on code.google.com by boia...@gmail.com on 11 Apr 2008 at 10:32

GoogleCodeExporter commented 9 years ago
This is a generic Flash issue.

Please read Q7 of our FAQ and let us know if this resolves the issue for you:
http://code.google.com/p/swfobject/wiki/SWFObject_2_0_faq_web_authors

Original comment by bobbyvandersluis on 11 Apr 2008 at 12:06

GoogleCodeExporter commented 9 years ago
Are you sure? Because this only happens when there's two flash movies or more

Original comment by boia...@gmail.com on 11 Apr 2008 at 2:35

GoogleCodeExporter commented 9 years ago
Yes, I'm pretty sure :-)

Original comment by bobbyvandersluis on 14 Apr 2008 at 9:45