Youtube Java Script Problem

Discussion in 'JavaScript' started by wd_2k6, Mar 17, 2008.

  1. #1
    Hi, 2 quick questions:

    1. I am copying some Javascript from Youtube for use on my own site is this OK? Namley the embed text box and customization part...So is this legal and OK ??

    2. To do this i need to extract certain parts of the javascript. So i have some code, how can i read the code to find out which functions it requires?
     
    wd_2k6, Mar 17, 2008 IP
  2. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No, I would not say this is OK, especially since you're also asking what other code you would have to copy from them to make it work.
     
    zerxer, Mar 22, 2008 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I copied about 300 lines off there Script, is this even legal? If anyone knows the answer to this please post!!
     
    wd_2k6, Mar 22, 2008 IP
  4. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would say not. Even if it were legal, it's frowned upon. It's nice to use other website's source as a reference while you code your own but simply copying and pasting it all isn't good unless it's from a site full of free examples.
     
    zerxer, Mar 22, 2008 IP
  5. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Fair enough to be honest it can probably be done in a couple lines of JavaScript i'll have to get somebody to help me out with what i need.
    All i needed was the embed customization part. Where they have the textbox for you to copy and paste the embed code. And you can click a colour and it will automatically append the colour inside the textbox.
     
    wd_2k6, Mar 22, 2008 IP