
Untitled
By: a guest on
Jun 11th, 2012 | syntax:
PHP | size: 0.21 KB | hits: 25 | expires: Never
<?php
$imgid = get_field('vimeo_id');
$hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$imgid.php"));
?>
<img src="<?php echo $hash[0]['thumbnail_large']; ?>" alt="video" class="banner"/>