Ticket #1450 (closed enhancement: fixed)
Fire event if no player can be selected
| Reported by: | jeroen | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Normal | Milestone: | Player 6.5 |
| Component: | advertising | Keywords: | |
| Cc: | pablo | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/feature-suggestions/22005/ |
Description (last modified by jeroen) (diff)
Good idea from the forums:
Since we can configure which modes are available (and remove the download option) it would be nice if there could be a way to have an event be called when there are no supported players/formats based on the parameters we have passed in. That way we can give a message to the user telling them to download flash, upgrade their browser, etc.
We should fire an onSetupError() API call if neither Flash nor HTML5 was selected. The event included with this callback has two attributes:
- message (String): the same message as is displayed in the player area (or would be displayed if there was no fallback). See the troubleshooting guide for a list.
- fallback (Boolean): whether a fallback is rendered (download to MP4/MP3/AAC file or YT <embed> tag).
Change History
comment:4 Changed 9 months ago by jeroen
- Description modified (diff)
- Milestone changed from Player 6.0 beta to Backlog
Note this call is not that important at present, given we don't have an actual download rendering mode anymore. Separately, we are exposing the function getRenderingMode which returns undefined if neither Flash nor HTML5 are setup.

Additional request:
http://www.longtailvideo.com/support/forums/jw-player/feature-suggestions/23013/download-mode-create-an-onready-type-event