Forum Moderators: open

Message Too Old, No Replies

Publishing private Youtube videos in a members area

         

aspdaddy

7:32 am on Jun 18, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want to publish some videos within a members only area of a website. Because of bandwidth and server costs amn thinking of linking to them in Youtube.

Is it possible to do this using a youtube private channel and have the website login to youtube so that access can be restricted to members of the website ?

ergophobe

3:55 pm on Jun 18, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Funny you should ask this on June 17... because on June 17 Brad Bowman announced a early preview pre-alpha whatever version of a YouTube API for drupal [drupal.org].

You'll notice that the first thing it does for you is log you in. Note that currently there is no public release of this module, but the code is in the CVS repository [cvs.drupal.org].

That might at least point you in the right direction for integrating Youtube with whatever CMS you're using.

I'm sure other CMS have released or will be releasing similar modules to take advantage of the public Youtube API.

aspdaddy

9:24 pm on Jun 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thats awesome thanks, I never even knew youtube was a webservice! But Im guesssing the login in the example is the api developer credentials & not a private channel user/pass ? The code will work on any CMS/web application by the look of it, its just regular php.

btw - in .NET you can create this proxy class code automatically in vb or c# by pointing svcutil to the wsdl file

svcutil [youtube.com...] /out:myproxycode.vb /l:vb

ergophobe

10:10 pm on Jun 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Actually, no, it does allow user login.

More generally, going beyond drupal back to the root source...


The PHP client library can be used to work with either public or private feeds.

See [code.google.com...]

but you may find the non-PHP-specific docs more instructive:

[code.google.com...]

You'll probably also be interested in the documentation on custom feeds and private user favorites feeds [code.google.com]

See also the page on getting the Google data API PHP framework running (I haven't done this personally)
[code.google.com...]

In any case, I think the goal is to give full access to the API from drupal and that API definitely provides for client login and private feeds, but I don't know about private videos.

bill

8:20 am on Jun 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can still make private Google video [video.google.com] files. YouTube and Google Video are still separate. Google video also has some benefits like a lack of time limits for uploaded clips.

ergophobe

6:20 pm on Jun 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Bill, does Google video have an API?

bill

6:04 am on Jun 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Like the YouTube API? I haven't seen one.