Open samgherman opened 3 years ago
@samgherman I am facing a similar issue, are you able to resolve it yourself?
I am facing the same issue now. But somehow I managed to extract the video URL using another third-party library called HCVimeoVideoExtractor. Maybe this provides a workaround to play videos on iOS natively.
I bought a pro account so I can play videos in my app. All I wanted was a simple tutorial on how to play videos in my account in my app. I've been at this for hours now. I followed the documentation, which is out of date by the way as noted by other open issues, and no matter what I do "files" always return nil. Which I think is what I need to put in your PlayerKit Player. There literally is no documentation that connects VimeoNetworking and Playerkit. Repeating this... there is literally no documentation on how to play a video from Vimeo in any of Vimeo's documentation. And when your documentation is out of date it makes it even more frustrating because I have no idea what any of these additional parameters are that are now in all of your functions that are necessary to set this up.
Here is the deal. I THINK that I need to get a video object and then use one of the files in the files array to put that into the player kit's set function. BUT I don't even know what files returns.. it always returns nil. Is it supposed to be a string? What is this? This isn't even the issue at the moment, just noting that your documentation says nothing about this.
I've tried authenticating via access token, I've tried authenticating using the "default client" in your example. I successfully authenticate, but I get nil when I try and access the files from the files object.
I tried looking at almost every single open and closed issue. The scope I have is set to public, private, and video files.
After I authenticate it says I am successfully authenticated.
When I try to print( account.user?.name) it prints out my username.
When I try to print( account.user?.membership) I get nil.
When I try to print(account.user?.accountType.rawValue) I get 0.
Any help would be greatly appreciated