- 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>
Received on Friday, 10 April 2015 08:25:54 UTC
Hi, 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 = "data:text/html;charset=utf8;base64,PGh0bWw+DQo8aGVhZD48dGl0bGU+VGVzdDwvdGl0bGU+PC9oZWFkPg0KPGJvZHk+DQo8aDE+UHJlc2VudGF0aW9uIEFQSSB3aXRoIGRhdGE6IHNjaGVtZTwvaDE+DQo8L2JvZHk+DQo8L2h0bWw+"; var session = navigator.presentation.startSession(presentationUrl ); The following screenshot shows the output If you open the presentationUrl in browser (tested in chrome); [cid:image002.png@01D07378.519BA910] Best regards, Louay
Received on Friday, 10 April 2015 08:25:54 UTC