I have videos on YouTube, which I would like to embed on certain nodes. The CCK embedded video field works well for this. However, what if I have private videos? How could I authenticate from my site? I've looked at the official youtube API, but found it confusing.

Thanks.

Comments

gnr2311’s picture

If you only want the videos on your page so you can access them for your on purpose then one solution would be just to not publish them. You got them on your site but your useres cannot access it. Or you create a new contenttyp and not allow users to acess that new type. A third way would be the premium modul http://drupal.org/project/premium. here only premiuim mebers can look at the permium content which would be only you.

pogonaV’s picture

Vendetta,

See http://groups.drupal.org/node/19639 for a discussion of a similar issue.

Vendetta501’s picture

Yeah, I looked at that thread but couldn't find anything that helped me.

I have successfully authenticated with GData's ClientLogin API. Now it wants me to send the auth token in the http request to youtube. If I just have an embedded video on the page, how would I go about doing this?