Feb
13

0


This shortcode embeds a Youtube video without the need of additional plugins or components.

Example: [youtube src=’http://www.youtube.com/watch?v=oHg5SJYRHA0′]

Full paramaters:

[youtube
src=’http://www.youtube.com/watch?v=oHg5SJYRHA0′
width=’375′
height=’350′
name=’movie’
allowFullScreen=’true’
allowScriptAccess=’always’]

The only required paramater is “video”.

How to get the Shortcode:

1.) Get the Joomla Shortcode Pack from the Extension Web Store
2.) Using the Joomla! extension Manager, install and activate plg_shortcodes.zip system shortcode plugin
3.) Install and activate the shortcode_youtube.zip plugin
4.) Add the text above to any article to trigger the shortcode. Modify to your liking.

Credits: catswhocode, wpsnipp

Comments are closed.