Hello people,
Today this tips will be for the Joomla! people… not needed to be a professional because it’s very simple!
Introduction
What is our subject today: “How to put video from Youtube/Vimeo in Joomla”
Ok first let’s do some word clearing
Embedding : This is the action to encapsulate some external content in your page …
Example : embedding a video is the action to show a video on your page but the player and the video are external (from Youtube, Vimeo, Dailymotion etc…).
Principle of embedding a video
Ok let’s stay 5 minutes more in the theory in order to understand what will do in the practical.
Here is the sequence on how it’s work:
- You get an HTML code from Youtube/Vimeo (yes I will talk about those 2 only but it’s the same with the others website)
- You put this code in your page
- Et voilà!
Basically this code will create a space in your website which will be allocated for showing your video!
Let’s do it!
Now we will see how to get the HTML code needed for the embedding of the video.
Youtube:
- Click on “Share”

- Click on “Embed”

- Here is your code!

Note: You can observe that you can change some parameters (size of the video; https etc.), I will not go through them but you can try it! When you will change them, the HTML code will change.
Vimeo:
- Click on “EMBED”

- Here is your code :)

Ok now we have our HTML code! It’s time to insert it in Joomla!
In Joomla!
Open your article and copy the code for the embeding!
In order to insert this HTML code, you need to access to the HTML of your article! For this you just click on the button “Toggle editor”… here:

Now paste your code and click on “Toggle editor” again! And … OMG my code disappeared!!!!
Why? Where? What?
Ok now cool down it’s normal! There is a security reason behind that!
Embedding, Joomla and Security
So I will not write a book on all the security reasons why embedding video in Joomla is not allow natively. But for stay in the simplicity here is the why:
Joomla is a Content Manager System … so in a lot of case the content of the website is created by anybody (comments on your article for example) … good people or not!
Embedding is like open a space in your website for another website!
Now imagine if somebody come on your website and let a comment and inside his comment he insert some HTML code for embedding another website (a concurrent for example!)… you got it! It’s basicaly why Joomla doesn’t allow HTML inside its articles (only some piece of HTML are restricted).
The restriction is working in 2 places: in the Joomla himself and in the text editor that you use!
In the Joomla Administration
It’s very simple, log yourself in the Joomla Back-end of your website and go to the “Article Manager”.
Joomla 1.6:
Click on the button “Options”.
Select the tab: Text Filters

If you’re Super Administrator, just use switch the Filter Type to “No Filtering” … and save!
Joomla 1.5:
As soon as you’re in the Article Manager, click on the buttons “Parameters”!

Ok it’s a bit tricy to understand on the first sight but it’s quite simple!
In the list of the different group, you choose on who will apply the filters (not selected group = no filters = danger)
Note: for choose several group press ctrl (Windows) or cmd (Mac) while you’re selecting.
When you have selected the groups where you want a filter just select the filter type that you want (the difference between the 3 options are explained in the tool-tip placed on the words “Filter type”.
Got it?
Now you just create a new article, put your html et voilà :D