How to embed a YouTube video into an article in Joomla! 1.5
July 23, 2008 | by CoryThere are actually several ways to go about embedding a YouTube video into an article in Joomla! 1.5, but I have built a plugin that makes it dead simple. You can download the plugin here.
Here's how it works:
- Step 1: Download the plugin.
- Step 2: Install it.
- Step 3: Enable (publish) it.
- Step 4: Go to YouTube.com and find a video that you want to embed.
- Step 5: Copy the URL for that video from your browser bar.
- Step 6: Paste the URL into your content item.
- Repeat steps 4-6 for as many videos as you wish to embed.
That's all there is to it. Really. It's that simple. The plugin handles all the embedding code for you. I am releasing the plugin under the GNU/GPL, so feel free to use it on as many sites as you wish.
Special thanks to Simon Tiplady for helping me with the regular expressions in this plugin.
Example
About the Author
In the years since Joomla! was founded, Cory has built dozens of websites with Joomla! and helped thousands of people find answers to questions about Joomla! through HowToJoomla.net. Cory has also written a book about Joomla titled Beginning Joomla! Web Site Development published by Wrox in April, 2009. In February of 2008, Cory founded Cory Webb Media, LLC, where he provides consulting and web development services for companies of all sizes. You can follow Cory on Twitter @corywebb, or become a fan of Cory Webb Media on Facebook. Cory is also the founder of Themeables, a template club for Joomla!, and developer of /motif, the framework that powers Themeables.






