<video>: support for custom playbackRate
video.playbackRate changes the “video speed”. 1.0 is regular speed, 2.0 is 2 times faster. From the MDN documentation on HTMLMediaElement:
The default playback rate for the media. 1.0 is “normal speed,” values lower than 1.0 make the media play slower than normal, higher values make it play faster.
<a> “download” attribute
In some cases, resources are intended for later use rather than immediate viewing. To indicate that a resource is intended to be downloaded for use later, rather than immediately used, the download attribute can be specified on the a or area element that creates the hyperlink to that resource.
<a> element (with a URL constructor) and marking this
<a> element as downloadable with this new attribute, the user will be able to save the blob as a file on his hard-drive.
var blob = new Blob(["Hello World"]); var a = document.createElement("a"); a.href = window.URL.createObjectURL(blob); a.download = "hello-world.txt"; a.textContent = "Download Hello World!";
It has also been covered on HTML5Rocks in Downloading resources in HTML5.
About Paul Rouget
Paul is a Firefox developer.