I'm trying to upload the metadata for the video, but I don't quite get
how to make the jquery ajax call.
Is this part of the code correct?
$.ajax({
url: "http://gdata.youtube.com/action/GetUploadToken",
type: "POST",
data: {
Authorization: AuthSub token="<authentication_token>",
X-GData-Key: key=<developer_key>,
Content-Length: <content_length>
},
dataType: "xml"
});
How do I know what the content_length is? And how do I sent the atom
xml entry with the actual video information I'm about to upload?
Thanks
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment