Skip to content
New issue

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

Clarification: using dynamic/generated src values #66

Open
hybridherbst opened this issue Jul 11, 2023 · 1 comment
Open

Clarification: using dynamic/generated src values #66

hybridherbst opened this issue Jul 11, 2023 · 1 comment

Comments

@hybridherbst
Copy link

It seems that neither the spec nor the explainer referenced from the Readme mention what should happen when the source data is in memory, for example created from URL.createObjectUrl(someBlob). Images, audio, video work that way; however it looks like at least the current implementation on Safari does not accept such URLs, which may or not may be a bug given that the spec doesn't explain it.

Or maybe it doesn't need to because that's how resources on the web work?

@zachernuk
Copy link
Collaborator

zachernuk commented Oct 5, 2024

Safari's implementations are presented as "testable" feature previews but it's definitely expected that blob-loaded assets should function.

Looking through other specifications I haven't found any explicit language around the support for blobs in <img> or <video>, where I've definitely used them before. I'm happy to add language where it's typical, but I would hope this just works! (I'm mainly testing in visionOS 2, other implementations are more speculative)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants