Re: [whatwg/fetch] Body.arrayBuffer([begin, end]) (#554)

An alterantive approach to achieve requirement is to use media fragment concatenated to `Blob URL`. 

At initial request create a `Blob URL` using `Blob` result of `.blob()` response.

```
const blobURL = fetch("https://upload.wikimedia.org/wikipedia/commons/b/be/Hidden_Tribe_-_Didgeridoo_1_Live.ogg")
.then(response => response.blob())
.then(blob =>  URL.createObjectURL(blob));
```

When we want to play specific time slices from media, for example, from 30 seconds to 50 seconds, use appropriate media fragment identifier specifying the range of media to play

`blobURL.then(url => new Audio(`${url}#30,50`).play())`

which uses original `Blob` and `Blob URL` (`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`)

`XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 206 media Other (from disk cache)`






-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/554#issuecomment-309288100

Received on Sunday, 18 June 2017 16:33:31 UTC