Show a Progress Indicator for a Fetch Request with the Streams API

AnthumChris collected some JavaScript scripts to track the progress of fetch requests that download files/data. It works by leveraging the ReadableStream interface from the Streams API. A “simple” example is this: fetch('https://fetch-progress.anthum.com/30kbps/images/sunrise-baseline.jpg') .then(response => { if (!response.ok) { throw Error(response.status+' '+response.statusText) } if (!response.body) { throw Error('ReadableStream not yet supported in this browser.') } // …

ORBX.js – A Downloadable HD Codec Written in JS and WebGL

ORBX.js is a JavaScript library that enables Windows, Linux or Mac OSX apps to be virtualized in the cloud and streamed to any HTML5-enabled browser, including those running on mobile devices Really impressive stuff. In the video above Steam is being run somewhere in the cloud and streamed to the client which is Firefox. Rendering …