forked from elm/compiler
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
From https://elmlang.slack.com/archives/C0CJ3SBBM/p1762178135113389
I am trying to load and play a local video file in the browser. Since my files can be large (gigas of them bytes), I would rather not use File.toUrl and rather use the URL.createObjectURL api of the browser. However, I can't send File objects through ports. Any better way to do that?
Edit: Bytes is also not transferable across ports.
Additional context
This feature seems to exist in lamdera. Related commits/issues:
There is also an issue in elm about this: elm#2313
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request