I am trying to use the video player for a WebGL project. Videos will play fine on Chrome and Firefox, but on Safari I receive the following error.
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.
The videos are not set to auto-play, user must press a play button.
If a user changes their auto-play option for the page to not “Stop media with sound” the video will play, however asking our users to change their settings is not an option, and regardless the media is not auto-playing.
Our workaround in the past has been to split the audio into a separate mp3 file that we also load and sync to the video, but this is not an ideal solution.
Is there a simpler workaround to get videos working properly in Safari?
I’m having troubles with Unity Video Player for years now… this system is really a problem to our app. We have a similar problem. Unity doesn’t even give any information about that issue.