Well, you have to avoid this tag: <script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>
Because you aren't sure that the froogaloop file is loaded and installed when you script events.
Therefore you load Vimeo API using the script panel adding: http://a.vimeocdn.com/js/froogaloop2.min.js
It runs using the browser preview with a full address: src="http://player.vimeo.com/video/76979871?api=1"
==> Here are demo files using Vimeo API: vimeo API.zip - Box
Joel, your code was extremly helpfull, and thanks, a lot!
It works very well in edge's preview, but when I am opening the html in browser the buttons I've made seems to do nothing.
I've also checked the demo files you've uploaded, and the same thing is happening with them.
Maybe there is something I'm doing wrong? I tried it on: FF, Chrome, Safari
I would be very grateful for any advices,
Well vimeo API runs as twitter API: a key is required. A key is a number as "5671230603".
"It works very well in edge's preview" because a temporary key is automatically added.
So, you have to sign in to get a key as mentioned here: API on Vimeo on Vimeo Developer API
thanks a lot Joel, I'll try it!
I've done what you told me to
Finally I got my Client ID, and Clienct Secrets but honestly I have no idea what to do with them.
They are much longer than your example above.
Anyway, I have been trying to find the answer but nothing seems to help me to solve the problem.
I have tried to put this code in CompositionReady actions, but I am probably wrong, beacuse this deletes the video from my div
var Vimeo = require('vimeo').Vimeo;
var lib = new Vimeo(CLIENT_ID, CLIENT_SECRET, ACCESS_TOKEN);
I would greatly appreciate it if you kindly give me some advices,
thanks a lot, o.