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


Groups > comp.lang.javascript > #30070

Re: Server side push.....?

From Aleksandro <aleksandro@gmx.com>
Newsgroups comp.lang.javascript
Subject Re: Server side push.....?
Date 2016-03-21 17:03 -0300
Organization A noiseless patient Spider
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>

Show all headers | 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