Ticket #205 (closed defect: fixed)
Null appearing on Companion restore (IE)
| Reported by: | paul | Owned by: | paul |
|---|---|---|---|
| Priority: | blocker | Milestone: | OVA for AS3 (v1.0.0) |
| Component: | OVA for AS3 | Version: | OVA for AS3 (trunk) |
| Keywords: | Cc: | ||
| Forum thread: |
Description
Null is being placed into DIVs on companion restore with IE.
See attached screenshots
Raised by Tim
Attachments
Change History
Changed 3 years ago by paul
-
attachment
During the roll.jpg
added
comment:1 Changed 3 years ago by paul
Looks to be an issue with the javascript getElementByID() call and IE.
Here's an interesting blog entry on the issue:
comment:2 Changed 3 years ago by paul
- Status changed from new to closed
- Resolution set to fixed
Man - that's a bit of a screwup. It wasn't the getElementById() call at all.
It was specific to the examples. The embed code for the examples didn't produce the OBJECT based embed code - just <embed> based setup - so the ExternalInterface calls were not returning a result!
Fixed in the examples.js file.
comment:3 Changed 3 years ago by paul
Further info:
The issue for IE with the examples is that they do not include the correct OBJECT based embed code for Flash, just the EMBED code. As a result, the Javascript return values were not being correctly given back to OVA.
So instead of having flash embed code as follows in the examples:
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>
I actually had:
<embed src="somefilename.swf" width="550" height="400">
</embed>
If you embed the player correctly and configure OVA as per the examples everything will work properly. Null will not appear in the companions.

During the ad