Ticket #205 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

During the roll.jpg Download (165.2 KB) - added by paul 3 years ago.
During the ad
After the roll.jpg Download (140.9 KB) - added by paul 3 years ago.
After the ad
Before the roll.jpg Download (143.3 KB) - added by paul 3 years ago.
Before the ad

Change History

Changed 3 years ago by paul

During the ad

Changed 3 years ago by paul

After the ad

Changed 3 years ago by paul

Before the ad

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:

 http://www.javascriptjedi.com/getElementById/

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.

Note: See TracTickets for help on using tickets.