Ciao ho seguito questo tutorial
http://www.howtoweb.it/tutorial/inte...e-prettyphoto/

ma non riesco a completare il mio script qualcuno mi aiuta?
io l'ho fatto cosi...

codice:
<script type="text/javascript" src="javascript/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="javascript/jquery.prettyPhoto.js"></script>
<script type="text/javascript"
src="http://gdata.youtube.com/feeds/users/MIONOME/uploads?alt=json-in-script&callback=getVideos">
</script>

<script type="text/javascript">
function getVideos(data) {
}
</script>

<?php
var feed = data.feed;
var entries = feed.entry || [];
for (var i = 0; i < entries.length; i++)
{
var entry = entries[i];
var title = entry.title.$t.substr(0, 35);
var thumbnailUrl = entries[i].media$group.media$thumbnail[0].url;
var videoUrl = entries[i].media$group.media$player[0].url;
html.push('<div class="singleVideo"><a rel="prettyPhoto[flash]" href="',videoUrl,'" title="',title,'">',
'[img]', thumbnailUrl, '[/img]','</a>',
'<span>',title,'...</span></d>);
}
document.getElementById('videoContainer').innerHTML = html.join('');
?>

<div class="singleVideo">
<a rel="prettyPhoto[flash]" href="[URLVIDEO]" title="[TITOLO VIDEO]">
[img][THUMBNAILVIDEO][/img]
</a>
<a rel="prettyPhoto[flash]" href="[URLVIDEO]" title="[TITOLO VIDEO]">
<span>[TITOLO VIDEO]...</span></a>
</div>
l'errore che mi da è
Parse error: syntax error, unexpected T_VAR in C:\Program Files\EasyPHP-5.3.3\www\video.php on line 13

grazie mille!!!!!!