/ Published in: JavaScript
This script will grab the YouTube video ID using regex so that many different types of YouTube urls. This will also output the id and thumbnail to view.
URL: http://jsfiddle.net/PMrLR/7/
URL: http://jsfiddle.net/PMrLR/7/