Odoo Help

3

0
8 回答
0
アバター

michel Guénard フランス

--michel Guénard--

1163
| 5 5 10
VIROFLAY, フランス
--michel Guénard--

VP operations & finance Social entrepreneur Certified Public Accountant Past Chief internal auditor

michel Guénard フランス
2015/02/26 13:12

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></h1>

<h1></h1>

<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>

                        <h3>

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

<p></p>

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

3
アバター

Fabrice Henrion (fhe) アメリカ合衆国

--Fabrice Henrion (fhe)--
7077
| 8 8 12
San Francisco, アメリカ合衆国
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe) アメリカ合衆国
2013/02/14 5:47

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>

and

<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

1 コメント
Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik トルコ
2013/02/14 6:54

I hope it will be added to the server :)

1
Pierre J Thyssen アメリカ合衆国
2014/08/10 14:36

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:

src="//www.youtube.com/embed/zpOULjyy-n8

                        <h3>

                         Responsive 16:9 YouTube

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

0

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.

0
アバター

Fabrice Henrion (fhe) アメリカ合衆国

--Fabrice Henrion (fhe)--
7077
| 8 8 12
San Francisco, アメリカ合衆国
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe) アメリカ合衆国
2013/02/14 5:25

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.

Example:

<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>
0
Nikolaj
2013/02/14 5:25

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.

0
アバター

Fabrice Henrion (fhe) アメリカ合衆国

--Fabrice Henrion (fhe)--
7077
| 8 8 12
San Francisco, アメリカ合衆国
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe) アメリカ合衆国
2013/02/14 5:43

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>

質問する
Writer
タグ
Keep Informed
1 フォロワー
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.

Register
Odoo Training Center

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

Test it now