Closed demanzonderjas closed 6 years ago
That's very odd. As soon as the MediaPlayer is added to your project, the Vimeo Plugin should automatically detect it.
What is happening behind the scenes is that we are using the AssetPostprocessor
to automatically add a custom define
in your Unity project. This define tells the VimeoPlayer
to expose a new option in the GUI.
See: https://github.com/vimeo/vimeo-unity-sdk/blob/master/Assets/Vimeo/Scripts/Editor/VimeoPlugin.cs#L20
We tested it locally and it is working well in 2018.2.1f1
and 2018.1.6f1
.
Can you try manually adding VIMEO_AVPRO_VIDEO_SUPPORT
to your list of defines and see what happens?
@caseypugh thanks for the quick reply.
I tried the same flow again in a new project, in Unity 2018.2.2f1, and now it was exposed automatically. Seems that I made a mistake previously with shuffling some folders from Assets to Assets/Plugins. To proof it, I tried it from scratch in v2018.1.4f1 and now it works as well.
Sorry for the unnecessary issue and thanks for thinking along :).
Hi - I am having the same issue, AvPro video not being a player option after installing the vimeo sdk in a project. When I create a NEW project, yes, it works. However I don't quite understand how to make it work in the existing project with the vimeo SDK. You mentioned adding VIMEO_AVPRO_VIDEO_SUPPORT to the list of defines. How does one do that?
I'm attaching a screenshot showing that I have the SDK installed yet the player is not an option.
I'm using Unity version 2018.3.0f2 Personal.
Thanks, Jonathan
Describe the issue
I have downloaded the free trial of AVPro Video and added both that package and the Vimeo Unity SDK to a demo scene. The Vimeo SDK doesn't seem to recognise the existence of the player, since I cannot select it as my main Video Player in the [VimeoPlayer] component.
We would like to stream Vimeo Live via the combination of these two packages in a Unity Scene (AR, eventually). Any ideas on what is going wrong?
Steps to reproduce the problem
New Unity project
add Vimeo SDK
add AVPro Video free trail package
VimeoPlayer GameObject doesn't have a Video Player prop to switch to the MediaPlayer from AVPro Video
(see my screenshot for the current setup)
Unity version
v2018.1.4f1
Operating system
macOS High Sierra 10.13.6