--- a/wi-addendum-local-services/Overview.html Wed Jun 27 18:00:11 2012 +0200
+++ b/wi-addendum-local-services/Overview.html Wed Jun 27 18:20:12 2012 +0200
@@ -59,6 +59,9 @@
// company: "Your Company", companyURL: "http://example.com/" },
//],
+ //
+ edDraftURI: "http://w3c-test.org/dap/wi-addendum-local-services/",
+
// name of the WG
wg: "DAP/Web Apps Web Intents task force",
@@ -111,22 +114,14 @@
<pre class="example sh_javascript_dom">
// Create a new intent
- var intent = new Intent(
- "http://webintents.org/view",
- "video/mp4",
- { "src":videoCanvas.src, "img": videoCanvas.poster});
+var intent = new Intent( "http://webintents.org/view","video/mp4",{ "src":videoCanvas.src, "img": videoCanvas.poster});
- // Start intents picker
- navigator.startActivity(intent,
- // On Result
- function(intentData) {
- console.log("player.html: On Result" + intentData);
- },
- // On Failure
- function(intentData) {
- console.log("player.html: On Failure" + intentData);
- }
- );
+// Start intents picker
+navigator.startActivity(intent,
+ // On Result
+ function(intentData) {console.log("player.html: On Result" + intentData);},
+ // On Failure
+ function(intentData) {console.log("player.html: On Failure" + intentData);});
</pre>
<p>
The example below briefly describes the steps taken when a Service on a local network, e.g. UPnP or mDNS, device is discovered and selected by