We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c4395 commit bcf2811Copy full SHA for bcf2811
README.md
@@ -6,7 +6,13 @@ Fetch Blob using [fastblob.com](https://fastblob.com)
6
``` js
7
import fetch from "@fastblob/fastblob-fetch";
8
9
-const response = await fetch("https://example.website.fastblob.com/big-buck-bunny/Big%20Buck%20Bunny_1080p_30fps.mp4")
+// For example, your fastblob domain is `example.website.fastblob.com`
10
+const url = "https://example.website.fastblob.com/big-buck-bunny/Big%20Buck%20Bunny_1080p_30fps.mp4";
11
+
12
+const response = await fetch(url);
13
+const blob = await response.blob();
14
+const newURL = URL.createObjectURL(blob);
15
+console.log(newURL);
16
```
17
18
## More Info
0 commit comments