[whatwg] A slightly different use-case for shared workers
russell.leggett at gmail.com
Fri Aug 29 07:29:05 PDT 2008
I'm also a Pandora fan, and I actually thought of another use. In addition
to popping out a separate player, Pandora also opens new tabs/windows to
browse pages about artists/songs. These pages allow you to listen to
samples, but listening to them does not pause the player. It would be pretty
cool to use a shared worker to be able to tell the main player to pause if
another window plays a sample and then resume when the sample completes. I
don't know if this example actually contributes to the discussion, but it
seemed like a cool idea :)
On Fri, Aug 29, 2008 at 10:20 AM, Cameron McCormack <cam at mcc.id.au> wrote:
> Robert O'Callahan:
> > Why not just open new window and move the playing <audio> element from
> > old window into the new window? You might need to call play() on it again
> > the new window, but you shouldn't lose your place in the stream.
> Why shouldn't that throw a WRONG_DOCUMENT_ERR?
> Cameron McCormack ≝ http://mcc.id.au/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg