vimeo-api

How to get video stats via vimeo api

廉价感情. 提交于 2019-12-13 03:46:47
问题 I want to get stats of videos in my vimeo account through api call. I'm using https://api.vimeo.com/me/videos/stats endpoint to get stats as described in their documentation. And I'm getting this response { "error": "Your access token does not have the \"stats\" scope" } and there is no option to add stats scope at apps dashboard 回答1: Full stats are not yet available via the public Vimeo API. The only stats returned by the API is a video's total play stat, which is returned on the /videos/

Vimeo player pause another video when you play any video

喜夏-厌秋 提交于 2019-12-13 02:38:05
问题 I have 2 Vimeo players in my page when I play the first video then play second video first one gets paused. var vid1=new Vimeo.Player($('.one')); var vid2=new Vimeo.Player($('.two')); $('.btnonePlay').on('click',function(){ vid1.play(); }) $('.btnonePause').on('click',function(){ vid1.pause(); }) $('.btntwoPlay').on('click',function(){ vid2.play(); }) $('.btntwoPause').on('click',function(){ vid2.pause(); }) Steps on how to reproduce the issue: Click on play video one Click on play video two

Vimeo-API for node.js HTML error 'Sorry. Vimeo will be right back'

柔情痞子 提交于 2019-12-12 01:46:12
问题 I'm using Vimeo api for node.js and now encountered a problem, that never occured before. On attempt to lib.generateClientCredentials it throws error (and crashes node app): [Error: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="robots" content="nofollow, noindex"> <title>Sorry. Vimeo will be right back.</title> <style> body { margin: 0; padding: 0; background: #34454E url('https://f.vimeocdn.com/images_v6/ins_down_illustr ation.png') bottom repeat-x fixed; color:

Vimeo API: get a list of links for downloading all video files

拥有回忆 提交于 2019-12-11 16:53:29
问题 Good day. I'm trying to get a list of all video files (links to direct downloading) from Vimeo account. Is there a way to do it in a 1 GET request? OK, times to 100, if it is restriction of API. I had hardcoded script, where I am making 12 GET request (1100+ videos, according to documentation, request is limited by 100 results), and then making over 1 000 requests to receive direct links. Is there a way to to receive a list of links for downloading videous from Vimeo with one API request to

Can I start playing another video after the original video finished? (Vimeo)

别说谁变了你拦得住时间么 提交于 2019-12-11 13:52:13
问题 Hy, I need to develeop a site, that will embed videos from Vimeo. If I use VimeoAPI, can Ilisten when the video is finished? And if it finished, can I start another video from Vimeo? Thanks, Dave. 回答1: Assuming that you have used the code provided in the Vimeo Api page you should be using the following to show an initial video: <!doctype html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="custom.js" ><

RESTful mechanism to upload video (and properties) to vimeo

我的梦境 提交于 2019-12-11 11:58:19
问题 The procedure to upload a video to Vimeo starts out very similarly as the one defined for Youtube, but only up to a point. Below I describe the steps that worked , and outline the last video-upload step which does not : The Vimeo-upload dance begins when we pass the following parameters to trigger user authentication: let authPath:String = "\(url_vauth)?response_type=\(response_type)&client_id=\(client_id)&redirect_uri=\(redirect_uri)&state=\(state)&scope=upload" if let authURL:NSURL = NSURL

video players with js API and iPhones

房东的猫 提交于 2019-12-11 07:24:40
问题 I would like video start to play when use clicks on the specific element on my site. I tested vimeo player and youtube video player It works great on the desktop, but when I tested on the iPhone it doesn't. I know that Apple doesn't allow autoplay. From Apple documentation "Warning: To prevent unsolicited downloads over cellular networks at the user’s expense, embedded media cannot be played automatically in Safari on iOS — the user always initiates playback." My question is when user click

Vimeo API not detecting play event

岁酱吖の 提交于 2019-12-11 06:19:33
问题 I'm trying to detect a click of the play button using hte vimeo js api. Here is my code: html: <iframe id="video" src="https://player.vimeo.com/video/21777784?api=1" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> and the JS: var iframe = document.getElementById('video'); var player = $f(iframe); player.on('play', function() { console.log('played the video!'); }); At the moment i'm not getting anything logged in the console. I do

How to embed my Vimeo video in my own site and allow only authenticated users to view?

孤街醉人 提交于 2019-12-10 19:48:28
问题 I want to create app that allow users to upload their video to my Vimeo account. I want to hide these video from others. And allow only authenticated users of my app to view these videos. My question is does Vimeo allow me to do? If yes, how can I do? 回答1: Yes! It can be done on a web site. I have recently seen this done on a tutorial site, using a privacy setting available per video. I trust this could also be done using an app, but it's possible the access permissons may be different. Try

Android app - private viemo videos not playing

纵然是瞬间 提交于 2019-12-08 11:20:28
问题 I'm currently developing an android mobile app. I see that private Vimeo videos are not playing. Check the attached screen shot. Also note that the android app is still on development mode and not uploaded to Google. Please help me in this regard. Regards, Niladri! private vimeo video not playing 回答1: That picture appears to be accessing vimeo.com directly to view videos. At vimeo.com, private videos can only be viewed if you are logged in (which is unrelated to the API). If you want to play