Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Youtube like content locker

    Hi all. I'm new comer here and i have no idea to find the way how to create youtube like content locker. Is possible to lock / hide content for visitor until they liked video on youtube ? I'm very basic using javascript and i don't know how to start coding.

    I would to thanks to all who answering my questions.

    Regards

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts
    First, your site visitors would have to allow your web application to access their youtube accounts. You can do this with the YouTube API: https://developers.google.com/youtub...b_Applications

    Then it's a matter of using the YouTube API to grab the logged in user's latest activity feed, and see if you can dig around in there and find if the user has liked/rated your video: https://developers.google.com/youtub...Activity_feeds

    I don't know how far back in time the activity feeds go. You'll have to play around with the API and see if ti will do what you need it to do.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    cpagrip.com has an embedded video locker that supports youtube videos, and you can make money from them


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •