[whatwg] A slightly different use-case for shared workers

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
> the
> > old window into the new window? You might need to call play() on it again
> in
> > 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...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080829/2bbf2ba8/attachment.htm>

Received on Friday, 29 August 2008 07:29:05 UTC