Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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.