When will videos work on Safari?

@jukka_j Will this issue be fixed anytime soon?

In the meantime you can use an image sequence and play the audio at the same time. It works just fine on Safari and Chrome.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Video;

public class PlayVideoInWebGL : MonoBehaviour
{
    public AudioSource audioClip;
    public ImageSequence imageSequence;
    public UnityEvent onVideoFinished;
   
    public void playVideo() {
        imageSequence.Stop();
        imageSequence.Play();
        audioClip.Play();
        StartCoroutine(waitAudio());
    }
   
    private IEnumerator waitAudio () {
        yield return new WaitForSeconds (audioClip.clip.length);
        onVideoFinished.Invoke();
    }
}

I’ll need to check it, but I think that the issue is a missing “playsinline” attribute on the HTML DOM video element that Unity creates in the background.

On _JS_Video_Create
needs to add
video.setAttribute(“playsinline”, “”);

will check later

Didn’t work :frowning:
But maybe there are other issues that prevent it from working