Created
April 5, 2018 09:00
-
-
Save antonyjsmith/724e0a125d1c50d9eae91841a0b5a234 to your computer and use it in GitHub Desktop.
Vimeo - get thumbnails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$imgid = 6271487; | |
$hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$imgid.php")); | |
echo $hash[0]['thumbnail_medium']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment