Here is an example:
http://dev.tempz.webatu.com/youtube-test/
PHP Code:
<div style="float:left;">
<iframe width="560" height="315" src="http://www.youtube.com/embed/Yx82V2zN3tQ" frameborder="0" allowfullscreen></iframe>
<p>
<div style="float:left; display:inline;">
Views:
<?php
$video_ID = 'Yx82V2zN3tQ'; //http://www.youtube.com/watch?v=[Yx82V2zN3tQ]
$JSON = file_get_contents("https://gdata.youtube.com/feeds/api/videos/{$video_ID}?v=2&alt=json");
$JSON_Data = json_decode($JSON);
$views = $JSON_Data->{'entry'}->{'yt$statistics'}->{'viewCount'};
echo $views;
?>
</div>
</div>