Using the Thumbnails Object

This return value gives you an object of thumbnail urls for your specific YouTube Video. The image below shows you all the available variables.

Screen Shot 2015-05-18 at 11.34.50 PM



Here is an example usage. Simply change the ‘maxresdefault’ part to the size you want.

$thumbs = get_field('youtube_video');
echo '<img  src="' . $thumbs->maxresdefault . '" />';