In April this year, Microsoft launched “FileAPI,” growing the number of web standards prototypes on the site which initially featured IndexedDB and WebSockets.
Now, the software comapny plans the addition of yet another API. “Coming next is the Media Capture API prototype, a draft specification that defines HTML form enhancements to provide access to the audio, image and video capture capabilities of a device. The first release of the prototype includes Audio capabilities only, but we plan to add video support shortly after the release of the first version,” revealed Claudio Caldato.
The HTML5 Labs Media Capture API comes as a response to the work done to integrate speech technology in HTML5. Of course, this particular API is about more than just speech.
Until web developers will have the new Media Capture API prototype to play with, they can test the latest update to FileAPI.
Microsoft provided an API for representing file objects in web applications in April 2011, and per the HTML5 Labs refresh policy, the application programing interface is evolving rapidly. This particular update is related to changed behavior in File.slice. “The slice method previously had different semantics, which differed from both Array.prototype.slice and String.prototype.slice [ECMA-262]. This difference was an oversight which has been corrected in this edition of the specification,” Caldato said.
Some user agents implemented the previous semantics, notably Firefox 4, Chrome 10, and Opera 11. These user agents have agreed to vendor-prefix their slice implementations in subsequent releases.