What are those "AdSense" videos you're referring to in the 1st sentence? |
Oops. Strike "AdSense", replace with "YouTube"... |
Thanks for sharing this...it's a nice and useful implementation. |
Using the custom player (http://www.youtube.com/custom_player) you can also use a playlist made at youtube to show multiple videos :) |
Shoud be a YouTube player API, please join all api at one JS file. |
Was the first line a BH method converted to useful YouTube tip?
TheRaveN 2.0 |
I was looking over this again recently and I was wondering, why not use videoId instead of n? Then you only need one parameter, and you eliminate the chance that you'd forget to increment some "n" value when there's another youtube video a few posts down the page.
I suppose one risk is that a YouTube video ID could have a character that is invalid for an ID attribute in the p tag (i.e. sometimes they start with an underscore (IIRC)). |