Hi there,
I’ve just whipped up a quick plugin that allows you to embed YouTube clips into your templates by just passing a url…
Simply create a custom field to hold a YouTube clip url eg: http://www.youtube.com/watch?v=YiefzD2J1_U, and wrap the field output in the following code:
{exp:youtubee width="480" height="340"}{your_field}{/exp:youtubee}
The code it produces is Valid xhtml sourced from here so Hat-Tip to that man.
Parameters are just width and height, allowing you to place your clips around your site in different sizes without having to tweak multiple embed codes.
You can download from Jam Digital
Enjoy.
