admin管理员组文章数量:1332620
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.
本文标签: javascriptGet video direct url or file using blobhttpsexampleStack Overflow
版权声明:本文标题:javascript - Get video direct url or file using blob:https:example - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742270395a2444195.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论