I'm just looking for a very simple and lightweight way to play audio
clips from a minimal text link, as shown with SoundManager2 here:
http://www.schillmania.com/projects/soundmanager2/demo/play-mp3-links/
Both SoundManager2 and jPlayer/jQuery seem like overkill for such a
simple implementation. I also like the idea of using html5 audio, but
then there's the problem of cross-browser support for IE using flash
audio fallback... which jPlayer has so nicely solved.
So I guess I'd ideally like the HTML5 audio w/flash fallback that
jPlayer provides, using a minimal text link interface, without all the
other bells, whistles, and code.
Thanks,
Paul M
PS. Congratulations on the great work with jPlayer! It looks very
nice.
We chose jQuery since it is a popular JavaScipt library. It is the
only real overhead of jPlayer and since its use is widespread. Other
than that, it does not make much difference whether you uses a full
blown graphical interface or a simple text link saying "play". jPlayer
would not be affected much if it were to be reduced down. All the
extra code and HTML is optional in the surrounding webpage outside
jPlayer.
I hear what you are saying though... I'll leave maboa to comment
further.
Best regards,
Mark P.
I think what Mark P is alluding to is my idea of a jPlayer Lite that
does no more than 'patch' non HTML5 audio supporting browsers to act
like they do by falling back on Flash. I envisaged that this would be
written in JavaScript independent of any particular JS lib such as
jQuery.
Once this JS patch is included in the page the user (assuming they had
Flash installed) would see common functionality across all browsers
and the developer would be free to use the <audio> tag with the
confidence.
I go on about HTML5 patches here :
http://happyworm.com/blog/2009/08/24/html-5-the-revolution-will-not-be-televised/
and have even set up a small google site : http://www.html5patch.org
as a repository for them.
Is this the sort of thing you are looking for or am I barking up the
wrong tree?
Cheers
Mark B
On Mar 10, 10:48 pm, Maboa <mark.b...@gmail.com> wrote:
> Paul,
>
> I think what Mark P is alluding to is my idea of a jPlayer Lite that
> does no more than 'patch' non HTML5 audio supporting browsers to act
> like they do by falling back on Flash. I envisaged that this would be
> written in JavaScript independent of any particular JS lib such as
> jQuery.
>
> Once this JS patch is included in the page the user (assuming they had
> Flash installed) would see common functionality across all browsers
> and the developer would be free to use the <audio> tag with the
> confidence.
>
> I go on about HTML5 patches here :http://happyworm.com/blog/2009/08/24/html-5-the-revolution-will-not-b...
--
You received this message because you are subscribed to the Google Groups "jPlayer: the CSS styleable jQuery audio player plugin" group.
To post to this group, send email to jpl...@googlegroups.com.
To unsubscribe from this group, send email to jplayer+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jplayer?hl=en.
Thanks for your messages. A jPlayer Lite is just what I'm thinking
of! And as you describe it, it sounds even more sophisticated and
thorough than what I had in mind. While jPlayer looks like a really
powerful, elegant, and flexible tool, and I could use it for what I'm
doing, it just seems like overkill since what I'm doing is so basic.
I'm working for a really simple, unobtrusive user interface, on the
lines of text links that say "play". Those links would call
javascript that would check for HTML5 audio capability, and then
either play an HTML5 audio file, or for browsers that don't support
that, have the javascript play the audio using flash, all behind the
scenes (as jPlayer does).
Today I found a possibility in NiftyPlayer
(http://www.varal.org/media/niftyplayer/) which can be controlled via
javascript, and its player can be made invisible with height/width=0.
This is not ideal, but it could work in the short term as a
lightweight, invisible, flash fallback for HTML5 audio.
NiftyPlayer's javascript file is only 1.3k (down from 2.5k before
minimization). Its .swf file is only 3.8k, and by stripping out some
unneeded parts I got that down to 2.6k. We'll see how it goes...
I would love to see a jPlayer Lite as a patch to make HTML5 audio work
on browsers that don't support it yet! That would really move things
forward. I'd offer to help, but I'm such a novice I don't think I
would have much to contribute.
Thanks for the links and thoughts,
Paul M