Screen helpers · function
offerClip
Hand a file to the player.
Explained in Recording and clips.
function offerClip(blob: Blob, filename: string): Promise<void>import { offerClip } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
blob | Blob | |
filename | string |
In depth
navigator.share where it exists, because on a phone that is one tap into
the app they were going to post to anyway; a download otherwise. A file in
the Downloads folder that nobody can find is most of the way to no export at
all.