loamguy1
01-29-2009, 05:42 AM
Hi, I have an <OBJECT> tag in my html page that successfully loads and plays an .flv file, both in IE7 and Firefox.
However, the interesting thing is that if I close the IE7 tab for this page, the tab doesn't close. Instead, the tab starts blinking, then when I click on it, I get an IE messagebox with the vague error message "Object required."
I'm asked if I want to continue running scripts on this page. I click NO and the same error message immediately appears. And again. And again. At first I thought, I'd be in an infinite loop, but after 7 NOs, finally I was allowed to close the window.
Here's my <OBJECT> tag. I don't have the classid parm, and when I tried to insert it for debugging purposes, the .flv file wouldn't load.
<object>
<param name="wmode" value="opaque" />
<embed
src="file.swf"
width="480"
height="300"
bgcolor="#ffffff"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://hoster.com/thevid.flv&image=preview.jpg"
wmode="opaque"
/>
</object>
I don't get an error on Firefox, so I can't debug it. I've tried other OBJECT parameters on the net and can't find anything that seems to address this problem.
Any ideas?
However, the interesting thing is that if I close the IE7 tab for this page, the tab doesn't close. Instead, the tab starts blinking, then when I click on it, I get an IE messagebox with the vague error message "Object required."
I'm asked if I want to continue running scripts on this page. I click NO and the same error message immediately appears. And again. And again. At first I thought, I'd be in an infinite loop, but after 7 NOs, finally I was allowed to close the window.
Here's my <OBJECT> tag. I don't have the classid parm, and when I tried to insert it for debugging purposes, the .flv file wouldn't load.
<object>
<param name="wmode" value="opaque" />
<embed
src="file.swf"
width="480"
height="300"
bgcolor="#ffffff"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://hoster.com/thevid.flv&image=preview.jpg"
wmode="opaque"
/>
</object>
I don't get an error on Firefox, so I can't debug it. I've tried other OBJECT parameters on the net and can't find anything that seems to address this problem.
Any ideas?