Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VimeoPlayer: You do not have access to this video's files #4

Closed
frankcarey opened this issue Dec 20, 2017 · 9 comments
Closed

VimeoPlayer: You do not have access to this video's files #4

frankcarey opened this issue Dec 20, 2017 · 9 comments
Assignees
Labels

Comments

@frankcarey
Copy link
Contributor

frankcarey commented Dec 20, 2017

Using 2017.2.1f1 Personal..

VimeoPlayer: You do not have access to this video's files. You must be a Vimeo Pro or Business customer and use videos from your own account.
UnityEngine.Debug:LogError(Object)
Vimeo.VimeoPlayer:GetVideoFiles(JSONNode) (at Assets/Vimeo/Scripts/VimeoPlayer.cs:251)
Vimeo.VimeoPlayer:OnLoadVimeoVideoComplete(String) (at Assets/Vimeo/Scripts/VimeoPlayer.cs:241)
Vimeo.Services.<Request>c__Iterator5:MoveNext() (at Assets/Vimeo/Scripts/Services/VimeoApi.cs:235)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

When just using the Prefab "Vimeo Player (Screen)" .. I even updated my token. I was trying to use this video.. https://vimeo.com/22715565

@frankcarey
Copy link
Contributor Author

I should be a Pro user, and I tried one of my own videos, but I get the same error.. https://vimeo.com/246631329

@frankcarey
Copy link
Contributor Author

It looks like somehow the vimeoUrl field and the token field are linked such that when you add your token, it blows away the vimeo url and visa versa.
wrong field

@frankcarey
Copy link
Contributor Author

Also, you can't seem to type in your code (not that you would really want to, but there isn't an explicit "save" or something like that.. as soon as it gets a character, it assumes it was the full token.

@caseypugh
Copy link
Contributor

Yea this is the bug I mentioned yesterday that im working with Vimeo to resolve.

@shaneguay
Copy link

I'm seeing the same error that @frankcarey is seeing while using my Pro account. It seems the returned json is not including the "files" collection.

When I run the same URL fetch command that its send through curl, I also don't get the "files" collection.

curl -H "Authorization: Bearer xxxxxxxxxxxxx" https://api.vimeo.com/videos/207184703

@caseypugh I assume this the problem on Vimeos end that they are not returning the collection?

@caseypugh
Copy link
Contributor

@shaneguay @frankcarey Yea, this is a problem on Vimeo's end unfortunately. I'm working on getting it resolved.

If you are looking for a short-term workaround, you can get a token from creating your own Vimeo developer app:

@caseypugh caseypugh self-assigned this Dec 21, 2017
@caseypugh
Copy link
Contributor

caseypugh commented Jan 5, 2018

Fixed in this release: https://github.com/vimeo/vimeo-unity-sdk/releases

@poornerd
Copy link

@caseypugh what was the problem? I am also having the same problem with some code I wrote myself. (files is empty even though I have a pro account). Could it be additional permissions that the token needs?

@caseypugh
Copy link
Contributor

@poornerd yes it could be that, but it's hard to say for sure. Need more information about how you generated your token and the custom code you have wrote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants