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


Groups > comp.lang.javascript > #8695

Re: preload audio

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail
NNTP-Posting-Date Tue, 29 Nov 2011 00:38:16 -0600
Date Tue, 29 Nov 2011 17:38:09 +1100
From Andrew Poulos <ap_prog@hotmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version 1.0
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>
In-Reply-To <4ed44901$0$2511$ba4acef3@reader.news.orange.fr>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <-Z6dnfbSddRF4EnTnZ2dnUVZ_oydnZ2d@westnet.com.au> (permalink)
Lines 29
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 124.168.43.254
X-Trace sv3-5EzL7sNaB0Sgz0CCJV0lovk/zWWuMrwVZLBHaB67ozFnwYilVkT2JNajVAL417+0YiBAolTyN1GCOEG!lIbT6EXqGDc3iAFnG1b0h62d9HtX3MH36+EPvEOEi2bjswDwhswsrf2XkcK6fVXJF+tscrymwJWb!L8lqPtEmvGwXnpxMsclA/A==
X-Complaints-To abuse@westnet.com.au
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2542
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:8695

Show key headers only | 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