Ticket #147 (closed defect: fixed)
OVA for JW5 JAvascript API seems not working
| Reported by: | delykj | Owned by: | paul |
|---|---|---|---|
| Priority: | major | Milestone: | OVA for JW Player 5 (0.4.4) |
| Component: | OVA for JW Player 5 | Version: | OVA for JW Player 5 (trunk) |
| Keywords: | Cc: | ||
| Forum thread: |
Description
OVA for JW5 Javascript API seems not working.
I tested it on this sample page:
http://www.longtailvideo.com/support/open-video-ads/ova-for-jw-player-5/13736/process-ad-events-with-javascript
Do I need to set fireTrackingEvents to true? I could only found this information on the flowplayer sample page:
http://www.longtailvideo.com/support/open-video-ads/ova-for-flowplayer/13482/process-show-stream-events-with-javascript-api
Change History
comment:2 Changed 3 years ago by paul
Actually, I did mix things up here a bit in the reply.
The current live version uses "fireTrackingEvents": true to turn on the event firing, but the current development version has changed this to "canFireAPICalls": true...
comment:3 Changed 3 years ago by delykj
I have spent many hours to debug this :-(
The official release (v0.4.3.145) works. The "bug" only present in the v0.4.4 (build 67).
Thanks for the reply about the "canFireAPICalls" option.
comment:4 Changed 3 years ago by paul
- Status changed from assigned to closed
- Resolution set to fixed
Just adding a bit more to make sure this is very clear...
In the new dev build, there are two settings:
- fireTrackingEvents
- canFireAPICalls
"fireTrackingEvents" is used to tell OVA whether or not to fire the Javascript tracking event callbacks for show streams as they play.
"canFireAPICalls" was added in the latest development version to allow the overall Javascript API calls to be turned on/off for ads as they are played

Yes, the current development version that is in the trunk (or the current release candidate) requires:
"canFireAPICalls": true,
I've updated the JW examples to explicitly state this and they will be in the next push...
From memory, the current live version does not require this flag to be set.