Get video direct url or file using blob:https://example

20,317

Most 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 coming from, but this is a way too broad subject for here.

Share:
20,317
Dr BigKitkat
Author by

Dr BigKitkat

Updated on October 16, 2020

Comments

  • Dr BigKitkat
    Dr BigKitkat over 3 years

    So I am working on a service to universally download videos, I search for the

    <video src="https://example.com/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!

    • Wais Kamal
      Wais Kamal over 5 years
    • Jaromanda X
      Jaromanda X over 5 years
      why would the link be a blob: unless you created a Blob, and used the URL.createObjectURL to create a blob uri? and if you did that, then you'd have access to the blob
    • Dr BigKitkat
      Dr BigKitkat over 5 years
      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.