Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Video Unable to play video in Viemo-Unity-SDK

Discussion in 'Audio & Video' started by kmasui, Oct 4, 2022.

  1. kmasui

    kmasui

    Joined:
    Dec 28, 2018
    Posts:
    8
    After the video has finished loading, it does not autoplay.

    Loading process:
    VimeoPlayer.autoPlay = true;
    VimeoPlayer.LoadVideo(vimeoID);

    VimeoPlayer is attached to Canvas.
    We've seen up to the call to OnVideoMetadataLoad().
    OnVideoStart() was not called.
    VideoPlayer.Prepare() and VideoPlayer.Play() in OnVideoStart().
    But it seems to stop somewhere in there.

    Once another app (browser, etc.) is displayed in front, playback starts.
    It does not reproduce on Editor, but occurs when built as a macOS app.

    If anyone knows the cause, please let me know.
    Best Regards.