Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged video



« Prev 1 Next »
Extracts the video title & download URL from a youtube page and starts a download.
3 1433 posted 12 years ago by codespartan
This will get the 11-character YouTube video ID from any valid YouTube URL. Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs
0 1513 posted 12 years ago by jmiller
This code snippet gets all information from a YouTube video (title, description, duration, thumbnail url, thumbnail width, thumbnail height, etc..) using the video id and YouTube API.
0 1993 posted 13 years ago by TimoZachi
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 997 posted 13 years ago by peckham
Returns the video id for any type of youtube url that holds one.
2 1259 posted 13 years ago by KabuqueJoe
Embed a video via PHP without using `the_content` filter in WordPress. From luckykind at http://wordpress.org/support/topic/call-function-called-by-embed-shortcode-direct
0 679 posted 13 years ago by jevets
taken from comments at above URL
1 1175 posted 13 years ago by dan_hoerr
I’ve made this function that receive the input $video string that contains the dirty embed code as it is from youtube. The second parameter $new_width (if specified) permits to resize the embed code proportionally to the width you need for your tem...
0 1270 posted 14 years ago by ginoplusio
I\'ve added an additional case to handle videos linked from a user\'s channel.
2 1206 posted 14 years ago by Jamie
This code allows you to retrieve the 11-character ID string from a YouTube video URL.
7 2644 posted 15 years ago by Moridin
Use with (in custom.css) .sidebar_box {margin-bottom:2em; text-align:center;} You may have to adjust the width for your sidebars.
2 926 posted 15 years ago by kristarella
YouTube Video Download Link Generator free for all to use, successfulness can't be guaranteed
5 1774 posted 16 years ago by jacksont123
« Prev 1 Next »