Youtube Simple Embed
Just paste the url of the youtube movie in your article and when you will see the article in frontend it will contain the youtube movie instead of simple text.
It searches for:
- both youtube.com and youtu.be links.
- with or without http:// or https://
- object params: http://www.youtube.com/v/qRQoX2dgQrQ?fs=1&hl=en_US
- ignores accidental editor converted & http://www.youtube.com/v/qRQoX2dgQrQ?fs=1&hl=en_US
- ignores accidental editor added tag at the end of the link http://www.youtube.com/v/qRQoX2dgQrQ
- latest short format: http://youtu.be/qRQoX2dgQrQ
- iframe: http://www.youtube.com/embed/qRQoX2dgQrQ
- watch: http://www.youtube.com/watch?v=qRQoX2dgQrQ
- ignores users: http://www.youtube.com/user/adicumpanasu#p/u/1/qRQoX2dgQrQ
- ytscreeningroom: http://www.youtube.com/ytscreeningroom?v=qRQoX2dgQrQ
- complex structures : http://www.youtube.com/adicumpanasu#p/c/qRQoX2dgQrQ/2/PPS-8DMrAn4
- any/subdomain/too: http://gdata.youtube.com/feeds/api/videos/qRQoX2dgQrQ
- final params: http://www.youtube.com/watch?v=qRQoX2dgQrQ&feature=g-vrec
It has the class youtubesimpleembed so you can make a css for it.
It also has width, height, floating, margin theme, color and autoplay parameters.
Do not forget to enable it!
WARNING! this will double the tag wrapping of the youtube videos that already have one on the website (but it is not destructive, so if you disable the plugin everything will return to the initial state). I would recommend you to use this plugin on a new site or on sites that don't already have youtube videos inside.
Version history:
1.1.0 - for Joomla 2.5.5 - 3.x
added more link formats
added optional http(s)://
now ignores tags at the end of the link
1.0.1 - for Joomla 2.5.5 - 3.x
added parameters theme, color, autoplay
removed forgotten print_r in code
1.0.0 - for Joomla 2.5.5 - 3.x