How to play .WAV file using jplayer

1,445 views
Skip to first unread message

aany

unread,
Jun 22, 2010, 1:23:55 AM6/22/10
to jPlayer: the CSS styleable jQuery audio player plugin
Hello
I m using jplayer pluging but had some problem related .WAV file
Its work on mozila after some changes into .js file but still some
problem into IE and safari
so could you please help me
Thank you

Jonathan2

unread,
Jun 22, 2010, 2:47:47 AM6/22/10
to jPlayer: the CSS styleable jQuery audio player plugin
wav isn't a web audio distribution method, the flash fallback won't
play it, and most other web browsers don't support it in html5 - you
need to convert to mp3 (and ogg if you want).

Try this - it does both:
http://mulder.dummwiedeutsch.de/home/?page=projects#lamexp

aany

unread,
Jun 23, 2010, 3:02:35 AM6/23/10
to jPlayer: the CSS styleable jQuery audio player plugin
First of Thank you for giving me such nice reply

Cant convert the file because requirement is only for .WAV file
Is there any plugin to support HTML5 for IE, safar etc.
> > Thank you- Hide quoted text -
>
> - Show quoted text -

Jonathan2

unread,
Jun 23, 2010, 5:39:10 AM6/23/10
to jPlayer: the CSS styleable jQuery audio player plugin
On Jun 23, 8:02 am, aany <b.rid...@gmail.com> wrote:
> First of Thank you for giving me such nice reply

Hi Aany,

Thanks - I like to try and point people towards as way of doing
things, as well as saying "you need to do this".

> Cant convert the file because requirement is only for .WAV file
> Is there any plugin to support HTML5 for IE, safar etc

I think there might be some confusion here - .wav is a very, very old
(30 years or so) format which CDs use, and is often used by audio
editors when mixing together or producing tracks.

It needs to be changed to a codec suitable for streaming first.
For example, with a wav, what you are doing is the same as, for
example, sending someone a picture as a bmp, or trying to squeeze HD
tv down an analogue modem, or uploading a video in raw microsoft avi.

So, for example, for photographs, we use jph
For graphics, we use png
For video, we use mp4, wmv etc
And for audio, we use mp3 or ogg to be compatible with html5 audio

If, for some reason, you cannot upload and mp3, then convert it to
mp3, change the extension to wav, then change the server settings to
serve a wav as an mp3, and change the jplayer file to see wav as mp3.
However, I don't know if this would work with other browsers, or the
flash fallback.

HTML5 support in IE is patchy, no support for native video or audio.
You may find this table useful
http://html5doctor.com/native-audio-in-the-browser/

Although it's rather out of date, I think the general principles of
what is supported by which browser, is the same.

Of course, if you want to just upload a wav, then any ftp or web
sharing server will do, but I doubt you'll ever get it to stream -
it'd be like asking people to encode their downloads in Sinclair ZX
Spectrum tape format!
Reply all
Reply to author
Forward
0 new messages