Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Add event handler for when there is no supported player based on the modes

5 replies [Last post]
Reply

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.

I mentioned it in this thread:

http://www.longtailvideo.com/support/forums/jw-player/bug-reports/21985/modes-parameter-doesnt-work-...

Reply

That's a good idea, we'll add that as a ticket. Perhaps we should just fire the onReady() event at all times, and then add the rendering mode (flash/html5/download/none) as a parameter.

For now, you could place this "install Flash" message inside the <div> you use for writing the player. If the player cannot find a rendering mode, it will leave the original div contents untouched.

Reply

I like the idea you suggested even better, that makes it applicable to more use cases.

Reply

I don't mean to grave dig this thread, but I see that there is a ticket open for this feature request ( http://developer.longtailvideo.com/trac/ticket/1450 ) and I would like to add my voice of support.

I currently use the method mentioned above by Jeroen, that results in the alternate content being visible on page loading before the player initialises; it works but it is much less than ideal.

Reply

This will very, very likely be part of the next update: player 6.0.

We're now wrapping the 5.9 player.

Reply

Good to know. Thanks for the update!

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options