View Full Version : Youtube Java Script Problem
wd_2k6
Mar 17th 2008, 1:08 pm
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?
zerxer
Mar 22nd 2008, 9:23 am
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.
wd_2k6
Mar 22nd 2008, 3:16 pm
I copied about 300 lines off there Script, is this even legal? If anyone knows the answer to this please post!!
zerxer
Mar 22nd 2008, 5:29 pm
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.
wd_2k6
Mar 22nd 2008, 5:33 pm
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.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.