PlayerKit
PlayerKit copied to clipboard
Video not playing: https://vimeo.com/30371570
Run an example demo and change the video URL to "https://vimeo.com/30371570". Getting error :🚫 Optional(Error Domain=NSOSStatusErrorDomain Code=-12847 "(null)")
this links to a webpage not to a video .mp4 or of other formats
As stated above, https://vimeo.com/{video_id} is not the resource link. I you make a GET to https://api.vimeo.com/videos/{video_id}, there is a node named "files" in the response. Thats an array with all the available versions of your video. Each object of the array contains a "link" to the video resource
@umwelt , seems files option is not available in APIs anymore and requires special payed membership. Honestly I would expect for Vimeo / PlayerKit to have default feature to play Vimeo videos, hopefully it will be added in the future.
References: https://vimeo.zendesk.com/hc/en-us/articles/224823567-Direct-links-to-video-files
As stated above, https://vimeo.com/{video_id} is not the resource link. I you make a GET to https://api.vimeo.com/videos/{video_id}, there is a node named "files" in the response. Thats an array with all the available versions of your video. Each object of the array contains a "link" to the video resource
Private videos links are not available using this api.I have tried making api calls for private videos and couldn't find any proper documentation, about what to do in this case