Skip to content

Browsers compatibility is not the same as for media-chrome #36

@k-g-a

Description

@k-g-a

Some of the packages (at least media-tracks) are buit for relatively modern browsers (in contrast with media-chrome, which is built with --target=es2019 option). Moreover the custom-video-element sub-package is not built at all.

This leads to some features (i.e. private fields) being kept within distributed packages.
This, in turn, leads to errors on the end-user side when used with an old browser (i.e. Safari 14).

The only solution for now is to re-transpile those packages within the consuming application.

The proposed solution is to add --target=es2019 option to match the media-chrome build target.

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