Skip to content

@remotion/convert: Safari fails — FileSystemFileHandle.createWritable is not a function #7003

@JonnyBurger

Description

@JonnyBurger

Summary

In Safari, @remotion/convert throws when writing via the web filesystem path:

Unhandled Promise Rejection: TypeError: (await e.getFileHandle(t,{create:!0})).createWritable is not a function.

(Minified stack; corresponds to createWritable() on a FileSystemFileHandle from getFileHandle(..., { create: true }).)

Location

packages/convert/app/lib/web-fs-target.tsmakeWebFsTarget calls fileHandle.createWritable() after directoryHandle.getFileHandle(...).

Expected vs actual

  • Expected: Conversion flow works in Safari like in Chromium-based browsers.
  • Actual: Promise rejection because createWritable is missing on the handle Safari returns.

Environment

  • Browser: Safari (reporter observed failure there; exact version not captured).

Notes

No code change requested in this issue — tracking only. A fix will likely need a Safari-capable write path (e.g. feature detection and fallback) depending on what the File System Access / OPFS surface supports in Safari.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions