Udon's OnVideoPause and OnVideoPlay are not called.
Using several multi-function video players provided by volunteers, I attached the following script to the same object as VRC Unity Video Player or VRC AVPro Video Player and tried to play/pause/resume/stop/loop the video player.
OnVideoEnd, OnVideoError, OnVideoLoop, OnVideoStart, and OnVideoReady are called, but OnVideoPause and OnVideoPlay are not.
-----------------------------------------------------
using UdonSharp;
using UnityEngine;
public class VideoPlayerDebugLoger : UdonSharpBehaviour
{
public override void OnVideoEnd()
{
Debug.Log("---------------- Video Ended");
}
public override void OnVideoError(VideoError videoError)
{
Debug.Log("---------------- Video Error: " + videoError);
}
public override void OnVideoLoop()
{
Debug.Log("---------------- Video Loop");
}
public override void OnVideoPause()
{
Debug.Log("---------------- Video Paused");
}
public override void OnVideoPlay()
{
Debug.Log("---------------- Video Played");
}
public override void OnVideoReady()
{
Debug.Log("---------------- Video Ready");
}
public override void OnVideoStart()
{
Debug.Log("---------------- Video Started");
}
}