Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged video
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Extracts the video title & download URL from a youtube page and starts a download.
3
1431
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
1511
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
1989
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
994
posted 13 years ago by peckham
Returns the video id for any type of youtube url that holds one.
2
1254
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
674
posted 13 years ago by jevets
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
1269
posted 14 years ago by ginoplusio
I\'ve added an additional case to handle videos linked from a user\'s channel.
2
1199
posted 14 years ago by Jamie
This code allows you to retrieve the 11-character ID string from a YouTube video URL.
7
2642
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
921
posted 15 years ago by kristarella
YouTube Video Download Link Generator
free for all to use, successfulness can't be guaranteed
5
1767
posted 16 years ago by jacksont123
« Prev 1 Next »