Skip to content

Reading files doesn't work in firefox #43

@stevenxxiu

Description

@stevenxxiu

new FileReader().readAsArrayBuffer(file) doesn't work, and will show the error: TypeError: Argument 1 of FileReader.readAsArrayBuffer does not implement interface Blob. .

A work-around is new FileReader().readAsArrayBuffer(this.recorder.file.file_.blob_) but I'm guessing this is incompatible with real filesystem implementations.

It will work if File is made to inherit from the Blob class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions