So I am working on a service to universally download videos, I search for the
<video src=""></video>
tag and get the src url in order to download the video. The problem rises when there is a 'blob:' in front of the url. That link points to no video source and I have no knowledge on how to retrieve the video.
Anything could be helpful, Thanks!
So I am working on a service to universally download videos, I search for the
<video src="https://example./image/example"></video>
tag and get the src url in order to download the video. The problem rises when there is a 'blob:' in front of the url. That link points to no video source and I have no knowledge on how to retrieve the video.
Anything could be helpful, Thanks!
Share Improve this question asked Oct 12, 2018 at 7:13 Dr BigKitkatDr BigKitkat 4231 gold badge8 silver badges14 bronze badges 3- Related: How do we download a blob url video. – Wais Kamal Commented Oct 12, 2018 at 7:17
-
1
why would the link be a
blob:
unless you created a Blob, and used theURL.createObjectURL
to create a blob uri? and if you did that, then you'd have access to the blob – Jaromanda X Commented Oct 12, 2018 at 7:18 - 1 The blob wasn't created by me, take vimeo for example their video sources are in blob form. I want to retrieve links to their videos. – Dr BigKitkat Commented Oct 12, 2018 at 7:53
1 Answer
Reset to default 2Most of the time, when a video as its src
pointing to a blobURI (blob://..
), it is not a Blob that is at the other end of the URI, but a MediaSource.
You won't be able to retrieve the source of this data from your extension from this blobURI alone.
You'd have to check where the ArrayBuffers that do populate this MediaSource are ing from, but this is a way too broad subject for here.