//No Comment - TV Control, Geolocation & Webmention APIs |
Written by Lucy Black | |||
Monday, 14 November 2016 | |||
• TV Control API • Geolocation API • Webmention API Sometimes the news is reported well enough elsewhere and we have little to add other than to bring it to your attention. No Comment is a format where we present original source information, lightly edited, so that you can decide if you want to follow it up.
W3C Draft TV CONTROL API SPECIFICATIONYes this really is a W3C standard to allow web pages to work with TV and other media devices. This specification defines the TV Control API, which aims to enable web applications to present audio and video media from broadcast TV and radio, IPTV, or other sources, using the <audio> and <video> HTML elements. The API provides access to programme and service information and allows media recordings to be scheduled and replayed. TV functionality is accessed through the TVManager object which, via the TVTuner and TVSource objects, allows applications to select and present a TV or radio channel. Presentation is achieved by obtaining a TVMediaStreamobject from the TVTuner and assigning this to the srcObject attribute of an HTMLMediaElement. The TVMediaStreaminterface extends MediaStream to allow buffering of the received media, to enable pause/resume and timeshifted playback.
GEOLOCATION API SPECIFICATION 2ND EDITION IS A W3C EDITED RECOMMENDATIONIt is difficult not to smile at least at the final line of the introduction to the Geolocation API: The Geolocation API defines a high-level interface to location information associated only with the device hosting the implementation, such as latitude and longitude. The API itself is agnostic of the underlying location information sources. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs, as well as user input. No guarantee is given that the API returns the device's actual location. So we might know where you are.
WEBMENTION IS A W3C PROPOSED RECOMMENDATION
A Webmention is a notification that one URL links to another. For example, Alice writes an interesting post on her blog. Bob then writes a response to her post on his own site, linking back to Alice's original post. Bob's publishing software sends a Webmention to Alice notifying that her article was replied to, and Alice's software can show that reply as a comment on the original post. Sending a Webmention is not limited to blog posts, and can be used for additional kinds of content and responses as well. For example, a response can be an RSVP to an event, an indication that someone "likes" another post, a "bookmark" of another post, and many others. Webmention enables these interactions to happen across different websites, enabling a distributed social web.
To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, Facebook, Google+ or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Monday, 14 November 2016 ) |