Profile
Achievement
peckham's Recent PHP Snippets
- 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
778
posted 12 years ago by peckham