Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8695

Re: preload audio

Date 2011-11-29 17:38 +1100
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: preload audio
References <lbedneSh98WYs07TnZ2dnUVZ_tydnZ2d@westnet.com.au> <4ed382f6$0$2497$ba4acef3@reader.news.orange.fr> <AqednQV6-_BGk0nTnZ2dnUVZ8v6dnZ2d@giganews.com> <4ed44901$0$2511$ba4acef3@reader.news.orange.fr>
Message-ID <-Z6dnfbSddRF4EnTnZ2dnUVZ_oydnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


On 29/11/2011 1:52 PM, SAM wrote:
> Le 28/11/11 23:44, Stefan Weiss a écrit :
>> On 2011-11-28 13:47, SAM wrote:
>>> Le 28/11/11 07:45, Andrew Poulos a écrit :
>>>> Does doing something like
>>>>
>>>> var a = new Image()
>>>> a.src = "http://www.blah.com/test.mp3";
>
>> MP3 file will get downloaded, too, and under normal circumstances it
>> should also remain cached on the client. Whether that helps with audio
>> objects, I don't know. You could just try it out, while keeping an eye
>> on the server access log. I wouldn't be surprised if it turns out to
>> work as intended. If you end up using this technique for audio files,
>> make sure to test it in more than one browser.
>
> Except when HTML.5 will run everywhere, there is no way to be sure to
> play sound and less again to play sound charged on the fly.
>
> I used old technique to play sound (in midi files) that worked on
> Netscape, then on "my" Firefox but now that does no more work because of
> plugin QuickTime or maybe errors when uploading the files on the sever
> (sometimes it works locally).
>
> To be "clean" I really think we must use Flash to play sounds.

Alas that rules out all iOS devices.

Andrew Poulos

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

preload audio Andrew Poulos <ap_prog@hotmail.com> - 2011-11-28 17:45 +1100
  Re: preload audio SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2011-11-28 13:47 +0100
    Re: preload audio Stefan Weiss <krewecherl@gmail.com> - 2011-11-28 23:44 +0100
      Re: preload audio SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2011-11-29 03:52 +0100
        Re: preload audio Andrew Poulos <ap_prog@hotmail.com> - 2011-11-29 17:38 +1100
          Re: preload audio SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2011-11-29 12:17 +0100
            Re: preload audio SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2011-11-30 10:50 +0100

csiph-web