Ticket #1450 (closed enhancement: fixed)

Opened 3 years ago

Last modified 11 months ago

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:3 Changed 2 years ago by pablo

  • Milestone changed from Backlog to Player 6.0

comment:4 Changed 20 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.

comment:5 Changed 17 months ago by jeroen

  • Cc zach removed
  • Type changed from enhancement to feature

comment:6 Changed 11 months ago by jeroen

  • Cc pablo added
  • Owner changed from pablo to jeroen
  • Component changed from embedding to advertising
  • Description modified (diff)
  • Type changed from feature to enhancement

comment:7 Changed 11 months ago by jeroen

  • Milestone changed from Backlog to Player 6.5

comment:8 Changed 11 months ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.