1. Go to this page and download the library: Download eleven59/vimeo-connector library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
eleven59 / vimeo-connector example snippets
use Eleven59\VimeoConnector\VimeoConnector;
$video = VimeoConnector::getInfo($vimeoId);
use Eleven59\VimeoConnector\VimeoConnector;
$stills = VimeoConnector::getStills($vimeoId);
use Eleven59\VimeoConnector\VimeoConnector;
$cover = VimeoConnector::getCover($vimeoId);
use Eleven59\VimeoConnector\VimeoHelper;
$id = VimeoHelper::getIdFromUrl($url); // returns event or video Id or false
$eventId = VimeoHelper::getEventIdFromUrl($url); // returns event Id or false
$videoId = VimeoHelper::getVideoIdFromUrl($url); // returns video Id or false
use Eleven59\VimeoConnector\VimeoHelper;
$embedUrl = VimeoHelper::getEmbedUrl($urlOrId); // works for events and videos (returns event url if numeric input is given)
$eventEmbedUrl = VimeoHelper::getEventEmbedUrl($urlOrId); // works only for events
$videoEmbedUrl = VimeoHelper::getVideoEmbedUrl($urlOrId); // works only for videos
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.