W3C home > Mailing lists > Public > public-secondscreen@w3.org > March 2015

Re: [presentation-api] Allow page to designate a default presentation URL

From: Anton Vayvod via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Mar 2015 13:28:16 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-78969629-1426253295-sysbot+gh@w3.org>
>From mfoltz:

> The |defaultsessionstart| event should only be fired on the top 
level frame/document in a given page.
> If there are multiple <frames> declaring default presentations, 
there is no easy way for the user 
> agent to disambiguate the user intent to initiate presentation.

I think this is mostly a UI issue we should leave for the UAs to 
solve. The spec may mention it but leave it to the implementors to 
decide what to do (e.g. one could show a list of DPUs available and 
ask user to pick one).

> If the |defaultsessionstart| event handler is attached to the 
|navigator| object, how do we ensure
> that only the frame that declared the <link> tags gets access the 
session?

Well, there might me more than one frame / page that declared the same
 DPU. It seems right to notify all of them; the page may ignore the 
event if its document is not in focus.

-- 
GitHub Notif of comment by avayvod
See 
https://github.com/w3c/presentation-api/issues/26#issuecomment-78969629
Received on Friday, 13 March 2015 13:28:31 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 March 2015 13:28:32 UTC