Ticket #317 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

OVA JS API does not work with IE8/9

Reported by: paul Owned by: paul
Priority: blocker Milestone: OVA for JW Player 5 (v1.0.0)
Component: OVA for JW Player 5 Version: OVA for JW Player 5 (trunk)
Keywords: Cc:
Forum thread:

Description

OVA Javascript API does not work with IE8/9

For some reason, document.getElementById("element").APIcall() does not work in IE8 or 9 unless the IE developer tools are fired up.

Change History

comment:1 Changed 20 months ago by paul

  • Status changed from new to assigned

comment:2 Changed 20 months ago by paul

  • Status changed from assigned to closed
  • Resolution set to fixed

console.log() was causing the problem. When IE didn't have the console open, the call would fail causing the API to stop working.

Added a protective try/catch around any console.log code, and implemented a basic JW Embedder OVA Javascript plugin to provide more standard support for the OVA Javascript API.

Note: See TracTickets for help on using tickets.