vimeo / vimeo-unity-sdk

Easily stream your Vimeo videos into Unity or record and publish out to Vimeo.
MIT License
211 stars 49 forks source link

need Technical advice #136

Open 1seconds opened 2 years ago

1seconds commented 2 years ago

Hello. We will contact you for technical advice.

I want to install the Vimeo sdk to stream videos from the app. I upgraded to account pro, and I am using Unity version 2020.1.10f1.

There are two problems, I need a guide.

  1. The first move works fine. If you turn off the corresponding canvas and restart it, it does not work well from the second operation. Are there any apis to refer to or any caveats? The url is passed from the script, and when I take a log in VimeoPlayer-IsVideoMetadataLoaded(), the first value is true and the second is false.

  2. It does not work on mobile. I added the sdk file through the package file. It works in the editor, but the video does not play on mobile. Are there any other settings?

thank you. We inform you that the email is sent to the person who performed the GitHub release. Answers I'll wait

virgilcwylie commented 2 years ago

I use Unity 2019.4 + and Instantiating the prefab didn't work for me. I had to figure out a way to keep the player prefab in the scene and then use it when ever I needed. I simply had to change the url and LoadVideoAndPlay.