This documentation is for the old API which is no longer supported. If you're going to start a new web page, please reference the new Snip API. This page is provided for those who are still on the original API implementation.
async.js. It can be included as so:
Also, most browsers will not allow this script to load the video data directly from Google. One technique is to use a local proxy to download the data. There is an example PHP file here, which is used on this site for downloading this information.
|Field Name||Field Type||Read Only?||Description|
|Yes||String specifying the version of the file currently loaded.|
|No||On error, this function is called. It defaults to the PlaylistHelper's userErrorCallback if not defined.|
|No||The URL from which to download the video data. It must allow for appending the Video ID at the end of the string. This can be more easily customized with the function VideoInfo.setLocalProxy(string).|
|Optional parameter to specify the local proxy page (and any optional URL parameters)|
Adjusts the VideoInfo.url value to be the
current URL plus the argument
null or not given, then it defaults to
"../ytdataapi-proxy.php?v=", which can be downloaded
here. Note that it must take the
YouTube video ID at the end of the string.