//html5: Boolean((config.oggSupport) ? ((config.canPlayOGG) ? true :
config.canPlayMP3) : config.canPlayMP3)
html5: false
However, this doesn't work. The page loads fine, and there are no JS
errors and the pause button is hides. However, the setFile function
never fires.
What is the easiest way to force the player to use Flash and not html5/
audio?
Thanks!
is there no post edit in Google Groups?
Forcing the html5 variable to false should cause Flash to always be
used. It basically forces all the logic further down to use the Flash
version, ie., It adds the Flash to the page and registers the Flash
version of jQuery events.
Is this the only edit that you made to jquery.jplayer.js 0.2.5 ?
Do you have an online version we can review?
Google groups is more akin to a mailing group, so once you hit send,
the mails are sent out. Hence no edit button. It has caught me out a
few times myself too ;)
Best regards,
Mark P.
I'll get a test page up in a bit.
Another clue: the Flash player works fine in non-HTML5 browsers.
However, when HTML5 is present it doesn't.
My guess is that it has something to do with the audio tag prepended
on line 62, which is then removed in eventsForHtmlAudio, but not in
eventsForFlash.
We shall see.
I upgraded jPlayer versions, but my Jplayer.swf was cached. Doh!
Thanks for being so helpful Mark; you rule!
Good luck with your project,
Mark P