I am focusing on a residential area video site (Wordpress backbone) that will permit customers to merely submit a hyperlink and also have all of the info on the website. I've the primary parts working (blocking video ID and planting value into javascript functions which grab view count). I am attempting to grab the uploader from the video, but for whatever reason it does not appear to become working (creates my other site, ?). Here is a snippet of my code:

Assume video ID is '3DdQw4w9WgXcQ'

 //Here is the player (separate from JS, used PHP)
 <iframe width="802" height="480" src="http://www.youtube.com/embed/3DdQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>

 //Here is where I want the uploader to display, if the function doesn't execute correctly, it displays a common message, "Error"
 <div id="postedby">Error</div>

 <script type="text/javascript">
    function youtubeVidCallback( data )
        {
        document.writeln( '<h3><strong>' + addCommas( data.entry[ "yt$statistics" ].viewCount ) );
        $('#postedby').html( 'Posted by' + data.entry[ "author" ][ 0 ].name.$t );
        }
 </script>
 //This next part loads YouTube's feed and gets the script rolling
 <script type="text/javascript" src="http://gdata.youtube.com/feeds/api/videos/3DdQw4w9WgXcQ?v=2&amp;alt=json-in-script&amp;callback=youtubeVidCallback"></script>

Let me enable this to ensure that I'm able to make subscription backlinks towards the video author's funnel and perhaps load their avatar. Thanks ahead of time! Matt

You will find the right idea, however, you should not be encoding the url:

<script type="text/javascript" src="https://gdata.youtube.com/feeds/api/videos/dQw4w9WgXcQ?v=2&alt=json-in-script&callback=youtubeVidCallback"></script>

Fiddle:

http://jsfiddle.net/EvbZm/