What Code Logic Determins "Similar Videos" in programming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lakerslive
    Confirmed User
    • Aug 2012
    • 929

    #1

    What Code Logic Determins "Similar Videos" in programming

    So im building this video script. And I want to have a "Similar" videos section right below my main video..

    So similar videos depends on the category where i put the main video under (via backend)? Is that the general logic used?
  • shake
    frc
    • Jul 2003
    • 4663

    #2
    Normally you would match in SQL based on the tags used to describe the video. You can probably find some great examples on stackoverflow.
    Crazy fast VPS for $10 a month. Try with $20 free credit

    Comment

    • Tube Ace
      So Fucking Banned
      • Nov 2008
      • 4941

      #3
      I noticed on YouTube the first few recommendations are the uploaders' videos, then the rest are probably done by matching tags and possibly playlists.

      Comment

      • Zeiss
        Confirmed User
        • May 2012
        • 5189

        #4
        Originally posted by Tube Ace
        I noticed on YouTube the first few recommendations are the uploaders' videos, then the rest are probably done by matching tags and possibly playlists.
        You forget sponsored videos.


        Adult Webmasters Guides

        Comment

        • - Jesus Christ -
          Confirmed User
          • Mar 2003
          • 7197

          #5
          Youtube tracks every video a user visits (via cookie or ip?) and uses that data.

          I never log into youtube on this computer and have had things I just watched show up as related on a fresh video.

          Amen

          Comment

          • mychemicalromance
            So Fucking Banned
            • Sep 2012
            • 475

            #6
            just give up

            Comment

            • Zeiss
              Confirmed User
              • May 2012
              • 5189

              #7
              Originally posted by mychemicalromance
              just give up
              People like you will make him actually do it.


              Adult Webmasters Guides

              Comment

              • foxyflesh
                Registered User
                • Apr 2012
                • 54

                #8
                If you assign it to one category its a start and its quite easy,

                tags would probably be simpler to introduce and build on though. Alot of it depends on your db structure, can a move be assigned to multiple categories?

                Comment

                Working...