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

Use URL data: scheme in presentationUrl

From: Bassbouss, Louay <louay.bassbouss@fokus.fraunhofer.de>
Date: Fri, 10 Apr 2015 08:25:09 +0000
To: "public-secondscreen@w3.org" <public-secondscreen@w3.org>
Message-ID: <3958197A5E3C084AB60E2718FE0723D489ABE59A@FEYNMAN.fokus.fraunhofer.de>

What do you thing about using "data:"  scheme in presentationUrls e.g. "data:text/html;charset=utf8;base64,<base64 encoded inline html content goes here>"? Example:

var presentationUrl  =
var session = navigator.presentation.startSession(presentationUrl );

The following screenshot shows the output If you open the presentationUrl in browser (tested in chrome);


Best regards,

(image/png attachment: image002.png)

Received on Friday, 10 April 2015 08:25:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:18:52 UTC