We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetchURL()
It's confusing that there is a $gf.media.fetch() and a $gf.media.fetchURL(), since the former also returns a (blob) URL.
$gf.media.fetch()
$gf.media.fetchURL()
Brainstorming:
toURL()
getURL()
getBlobURL()
toObjectURL()
getObjectURL()
createObjectURL()
The text was updated successfully, but these errors were encountered:
The first just returns a Blob, not a URL.
$gf.media.fetchURL() is essentially:
URL.createObjectURL(await $gf.media.fetch(...))
plus some caching to prevent generating multiple URLs that point to the same Blob.
Maybe $gf.media.fetchObjectURL()?
$gf.media.fetchObjectURL()
Sorry, something went wrong.
No branches or pull requests
It's confusing that there is a
$gf.media.fetch()
and a$gf.media.fetchURL()
, since the former also returns a (blob) URL.Brainstorming:
toURL()
getURL()
getBlobURL()
toObjectURL()
getObjectURL()
createObjectURL()
(to parallel the native method, since this seems to be a thin abstraction over it)The text was updated successfully, but these errors were encountered: