I was using the Vimeo simple API to display the videos from a channel on my website, but as you may know, it has a limit. I was wondering if you could give me an example of how to use the advanced API. I have read the documentation, But I just don't know how to use those methods (obviously i am not php expert).
So it would be awesome if you could show me one example or any tutorial were I could understand it.
This is Part of the code I was using in the simple API:
var apiEndpoint = 'http://vimeo.com/api/v2/';
var oEmbedEndpoint = 'http://vimeo.com/api/oembed.json'
var oEmbedCallback = 'switchVideo';
var videosCallback = 'setupGallery&iframe=false';
$(document).ready(function() {
$.getScript(apiEndpoint + vimeoUsername + '/videos.json?callback=' + videosCallback);
});
function setupGallery(videos) {
for (var i = 0; i < videos.length; i++) {
var html = '<li><a href="' + videos[i].url +'"alt="'+videos[i].title+'"><img src="' + videos[i].thumbnail_large + '" class="thumb" />';
html += '<div><p>' + videos[i].title + '</p></div></a></li>';
$('#thumbs ul').append(html);
}
I just want to do the same but with the advance API (using php).
thanks a lot, I'd appreciate any advise.