Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
peckham's Recent SnippetsTagged video
- All /
« Prev 1 Next »
This function validates the URL of a YouTube video. It supports four kinds of URL: ?v=, /v/, #!v=, and the short version (youtu.be).
To validate the ID a request to YouTube is made, this is done using a personal class utilizing cURL.
0
862
posted 12 years ago by peckham