RPeraltaJr
5/25/2018 - 3:40 PM

Get thumbnail image from Vimeo video

<?php 

function getVimeoThumb($id) {
	$vimeo = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$id.php"));
	echo $small = $vimeo[0]['thumbnail_small'];
	echo $medium = $vimeo[0]['thumbnail_medium'];
	echo $large = $vimeo[0]['thumbnail_large'];
}

echo getVimeoThumb(271739113);