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


Groups > comp.lang.javascript > #30070

Re: Server side push.....?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Aleksandro <aleksandro@gmx.com>
Newsgroups comp.lang.javascript
Subject Re: Server side push.....?
Date Mon, 21 Mar 2016 17:03:09 -0300
Organization A noiseless patient Spider
Lines 11
Message-ID <ncpjrv$9it$1@dont-email.me> (permalink)
References <d368656e-5dfd-4849-ba04-d47c8e390d9a@googlegroups.com> <nch3jl$id7$1@dont-email.me> <c975d1be-3a33-4540-b68f-892bcd6b4fb4@googlegroups.com> <nckigk$9b1$1@dont-email.me> <57c45602-9198-451a-9b17-cda497126b6e@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Injection-Date Mon, 21 Mar 2016 19:59:59 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="7363fa7664fe264696fafdff2cecae6a"; logging-data="9821"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Yk1ptaXU6rMykL6acgnRJqmqbqwSnJS4="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
In-Reply-To <57c45602-9198-451a-9b17-cda497126b6e@googlegroups.com>
Cancel-Lock sha1:R/2hXUODM6SKHkJIm9QMrrCrAdA=
Xref csiph.com comp.lang.javascript:30070

Show key headers only | View raw


On 21/03/16 15:06, bit-naughty@hotmail.com wrote:
> On Sunday, March 20, 2016 at 3:39:30 AM UTC+5:30, Aleksandro wrote:
> 
>> Well, I would make a new XMLHttpRequest and use it when the song
>> finishes, lol.
>>
> 
> Ummm.... I've never _done_ AJAX, but from what I know of it, you register a handler for <whatever task gets completed>, and then you do a .send - but how would you get the handler to be called whenever a song finishes......?

I would see if the playback API emits some event on finish or I would
poll for it's status first.

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


Thread

Server side push.....? bit-naughty@hotmail.com - 2016-03-18 01:24 -0700
  Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-18 11:36 -0300
    Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-19 10:17 -0700
      Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-19 19:09 -0300
        Re: Server side push.....? Ram Tobolski <ramtob@gmail.com> - 2016-03-20 12:12 -0700
        Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-21 11:06 -0700
          Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-21 17:03 -0300
            Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-22 00:18 -0700
              Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-22 18:55 -0300
                Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-28 05:16 -0700
                Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-28 18:26 -0300
          Re: Server side push.....? Osmo Saarikumpu <osmo@weppipakki.com> - 2016-03-22 06:41 +0200
            Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-22 00:19 -0700
              Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-22 00:21 -0700
                Re: Server side push.....? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-22 09:53 +0100
                Re: Server side push.....? Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2016-03-22 09:54 +0000
                Re: Server side push.....? bit-naughty@hotmail.com - 2016-03-27 12:32 -0700
                Re: Server side push.....? Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2016-03-28 09:49 +0200
              Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-22 18:38 -0300
  Re: Server side push.....? JJ <jj4public@vfemail.net> - 2016-03-19 12:54 +0700
  Re: Server side push.....? Stefan Weiss <krewecherl@gmail.com> - 2016-03-21 01:21 +0100
    Re: Server side push.....? Aleksandro <aleksandro@gmx.com> - 2016-03-21 10:38 -0300

csiph-web