Skip to content

iPad Only (v16.4 and Safari) "NotAllowedError" multi-stream mp4VideoFormat play() #323

@karendolan

Description

@karendolan

The iPad is throwing a Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. on https://github.com/polimediaupv/paella-core/blob/main/src/js/videoFormats/es.upv.paella.mp4VideoFormat.js#L42-L46

Test with multi-video https://paellaplayer.upv.es/player.html?id=belmar-multiresolution-remote

This is not happening from iPhone, only from the iPad.
This is not happening from a single video in the iPad, only multiple videos.

It appears to be a too early call for the video to play that is rejected by the browser.
I suspect that the waitForLoaded() is having difficulty telling when both videos are ready to play in an iPad. However, it's odd that the issue does not also happen in an iPhone.

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