Google Blogoscoped

Forum

Multiple YouTube Videos on a Page  (View post)

Henning [PersonRank 3]

Friday, July 27, 2007
16 years ago4,775 views

What are those "AdSense" videos you're referring to in the 1st sentence?

Philipp Lenssen [PersonRank 10]

16 years ago #

Oops. Strike "AdSense", replace with "YouTube"...

Niraj Sanghvi [PersonRank 10]

16 years ago #

Thanks for sharing this...it's a nice and useful implementation.

Zim [PersonRank 10]

16 years ago #

Using the custom player (http://www.youtube.com/custom_player) you can also use a playlist made at youtube to show multiple videos :)

Hong Xiaowan [PersonRank 10]

16 years ago #

Shoud be a YouTube player API, please join all api at one JS file.

TheRaveN 2.0 [PersonRank 1]

16 years ago #

Was the first line a BH method converted to useful YouTube tip?

TheRaveN 2.0

Philipp Lenssen [PersonRank 10]

16 years ago #

What's a BH method...?

Niraj Sanghvi [PersonRank 10]

16 years ago #

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)).

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!