Ticket #745 (closed bug: duplicate)
Complex metadata throws an error when pushed to javascript.
| Reported by: | jeroen | Owned by: | pablo |
|---|---|---|---|
| Priority: | Milestone: | Flash 5.1 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description
There's a small big in the serialization of metadata for javascript that throws an error with complex data:
TypeError: Error #1034: Type Coercion failed: cannot convert Object@26aa98a9 to Array. at flash.external::ExternalInterface$/_toXML() at flash.external::ExternalInterface$/_objectToXML() at flash.external::ExternalInterface$/_toXML() at flash.external::ExternalInterface$/_objectToXML() at flash.external::ExternalInterface$/_toXML() at flash.external::ExternalInterface$/_argumentsToXML() at flash.external::ExternalInterface$/call() at com.longtailvideo.jwplayer.player::JavascriptAPI/forwardModelEvents() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.longtailvideo.jwplayer.player::PlayerV4Emulation/mediaMeta() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.longtailvideo.jwplayer.player::Player/forward() at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent() at com.longtailvideo.jwplayer.model::Model/forwardEvents() at com.longtailvideo.jwplayer.events::GlobalEventDispatcher/dispatchEvent() at com.longtailvideo.jwplayer.media::MediaProvider/dispatchEvent() at com.longtailvideo.jwplayer.media::MediaProvider/sendMediaEvent() at com.longtailvideo.jwplayer.media::HTTPMediaProvider/onClientData() at com.longtailvideo.jwplayer.utils::NetClient/forward() at com.longtailvideo.jwplayer.utils::NetClient/onMetaData()
This can be reproduced by going to the testing page, selecting the HTTP streaming MP4 example, adding a META javascript listener and playing the video.
Change History
Note: See
TracTickets for help on using
tickets.

Hmm, posted this twice somehow.