Odoo Help


[META] Can we embed youtube videos in questions and answers?

Ahmet Altinisik
on 2/14/13, 5:15 AM 8,499 views

Embedding a small youtube video in answers would be nice is this possible ?


It doesn't seem possible. Even though it displays correctly in the preview area, only the code appears on the submitted answer.

I have tried the following (found in the Share > Embed section of a Youtube video):

<iframe width="420" height="315" src="http://www.youtube.com/embed/nh95_KwSPVg" frameborder="0" allowfullscreen></iframe>


<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/nh95_KwSPVg?hl=en_US&amp;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/nh95_KwSPVg?hl=en_US&amp;version=3" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Apparently, a specific AskBot module needs to be installed as explained here: https://github.com/ASKBOT/askbot-devel/blob/master/askbot/doc/source/optional-modules.rst#embedding-video

I hope it will be added to the server :)

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/14/13, 6:54 AM
michel Guénard
On 2/26/15, 1:12 PM

Works great.

This is easy:

goto the blog page where you need to embed a video (on the odoo back end under the Knowledge menu)

Edit the page and then use the "Show source" button and paste the source code obtained from the video source.

My example:


<section class="jumbotron mt16 mb16" data-snippet-id="jumbotron"><div class="container">


<h1><a href="http://www.musicologie.org/15/un_cauchemar_glace_en_noir_et_blanc.html">Un cauchemar glacé en noir et blanc</a></h1>

<iframe width="640" height="480" src="https://www.youtube.com/embed/5POe-WCjNJs" frameborder="0" allowfullscreen=""></iframe>


                        <div class="embed-responsive embed-responsive-16by9">
                            <iframe class="embed-responsive-item" src="//www.youtube.com/embed/zpOULjyy-n8?rel=0"></iframe>


<p><a class="btn btn-primary btn-lg" href="/page/website.contactus">Contact us </a></p>

Pierre J Thyssen
On 8/10/14, 2:36 PM

Finally found an html snippet that works great! 

Just copy and paste the html snippet below where you want by going to  Customize ----> html editor then paste where you want and change the YouTube Video number zpOULjyy-n8 with yours. You get his by going to the YouTube Video and then below the video select the share link and get the bold video number using example below:



                         Responsive 16:9 YouTube

                        <div class="embed-responsive embed-responsive-16by9">
                            <iframe class="embed-responsive-item" src="//www.youtube.com/embed/zpOULjyy-n8?rel=0"></iframe>


Hello, sorry but how can you access to the source code for a particular blog post ?

I do not see any "ShowSource" button on the Odoo backend under the Knwloedge Menu.


Yes, it is possible and very easy.
Just go to the youtube video, click on the "Share" link below the video, select the "embed" section, and copy/paste the code in your answer.


<iframe width="420" height="315" src="http://www.youtube.com/embed/nh95_KwSPVg" frameborder="0" allowfullscreen></iframe>
<iframe width="420" height="315" src="http://www.youtube.com/embed/nh95_KwSPVg" frameborder="0" allowfullscreen=""></iframe>
On 2/14/13, 5:25 AM

I think that this could be a really useful feature and help increase the quality of answers.

According to the FAQ, at a certain level of karma one can:

  • 30 insert text link, upload files
  • 50 insert clickable link, answer own question immediately

Therefore I would say that inserting a video should go somewhere around here, perhaps also at 50, as it is 'interactive' like a clickable link.

If of course it is possible on this platform.


http://www.youtube.com/v/nh95_KwSPVg?hl=en_US&version=3"><embed src="http://www.youtube.com/v/nh95_KwSPVg?hl=en_US&amp;version=3" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/14/13, 5:15 AM
Seen: 8499 times
Last updated: 4/1/15, 5:20 AM