Skip to content

loadedmetadata event not fired until manual play if HLS is a live stream #1602

@dsine-de

Description

@dsine-de

When a HLS .m3u8 playlist is missing the #EXT-X-ENDLIST line (e.g. https://d2zihajmogu5jn.cloudfront.net/pdt-test-source/no-endlist.m3u8), the loadedmetadata event does not fire when the playlist is loaded and the stats are available (e.g. duration etc.) until the user manually starts playback.

Reduced test case: https://codepen.io/phelaz/pen/bNwPeOB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions