A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 5: Plug-in 27 - Embed YouTube Video

How often have you grabbed the embed code for a YouTube video only to find you have to tweak it to get the right dimensions for your website or to select high quality video or to make it auto start? With this plug-in you can replace all that with a single function call whenever you need to embed a video.

The Figure shows an embedded video of President Obama's inauguration.