(SOLVED) How to embed a Youtube video into an FAQ article?
Moderator: crythias
(SOLVED) How to embed a Youtube video into an FAQ article?
Hi all,
How can I embed a Youtube video into an FAQ article? When I enter such a source tag it doesn't work. Only a black frame is displayed.
<iframe width="420" height="315" src="//www.youtube-nocookie.com/embed/n5oWpJ8q6oc" frameborder="0" allowfullscreen></iframe>
Would really appreciate a solution
How can I embed a Youtube video into an FAQ article? When I enter such a source tag it doesn't work. Only a black frame is displayed.
<iframe width="420" height="315" src="//www.youtube-nocookie.com/embed/n5oWpJ8q6oc" frameborder="0" allowfullscreen></iframe>
Would really appreciate a solution
Last edited by bayerex on 18 Nov 2014, 15:56, edited 1 time in total.
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: How to embed a Youtube video into an FAQ article?
Anyone got any advise for me on this one?
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to embed a Youtube video into an FAQ article?
no, but probably because iframe is not good for embedding. I'd probably link it and employ a javascript handler to provide a popover.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: How to embed a Youtube video into an FAQ article?
I changed line 204 in file Kernel/Output/HTML/Standard/AgentFAQZoom.dtl and removed: sandbox="allow-same-origin allow-popups" from iframe tag.
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
you should not do this. It is a security setting!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
only myself edits the FAQ. Does that still pose a security problem?
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
yes
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
It's a security issue because it allows popups from *any* source.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny expert
- Posts: 204
- Joined: 19 Aug 2014, 17:27
- Znuny Version: 3.1.18
- Real Name: Vlad
- Location: Bogotá (Colombia)
- Contact:
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
hi Bayerex you could try this HTML code:
<div class="ArticleFAQContent">
<div class="message">
<iframe allowfullscreen="" frameborder="0" height="486" marginheight="0" marginwidth="0" scrolling="no" src="https://www.youtube-nocookie.com/embed/n5oWpJ8q6oc" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" width="597"></iframe></div>
</div>
<div class="ArticleFAQContent">
<div class="message">
<iframe allowfullscreen="" frameborder="0" height="486" marginheight="0" marginwidth="0" scrolling="no" src="https://www.youtube-nocookie.com/embed/n5oWpJ8q6oc" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" width="597"></iframe></div>
</div>
OTRS: 3.1.18, OTRS::ITSM 3.1.10
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
-
- Znuny expert
- Posts: 204
- Joined: 19 Aug 2014, 17:27
- Znuny Version: 3.1.18
- Real Name: Vlad
- Location: Bogotá (Colombia)
- Contact:
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
Work For me 

You do not have the required permissions to view the files attached to this post.
OTRS: 3.1.18, OTRS::ITSM 3.1.10
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
But the only possible "source" in this case can be Youtube, right?crythias wrote:It's a security issue because it allows popups from *any* source.
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
Hi nanotowers,
I tried your source on a test instance that hasn't been changed but it doesn't work for me. Infact, upon saving it the source gets completely removed. Any ideas why?
I tried your source on a test instance that hasn't been changed but it doesn't work for me. Infact, upon saving it the source gets completely removed. Any ideas why?
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31
Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
-
- Znuny expert
- Posts: 204
- Joined: 19 Aug 2014, 17:27
- Znuny Version: 3.1.18
- Real Name: Vlad
- Location: Bogotá (Colombia)
- Contact:
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
this is my complete code.
<ul>
<li class="Customer Visible">
<div class="MessageHeader">
<h3>
Descripción:</h3>
<div class="Clear">
</div>
</div>
<div class="ArticleFAQContent">
<div class="message">
<iframe allowfullscreen="" frameborder="0" height="486" marginheight="0" marginwidth="0" scrolling="no" src="https://www.youtube-nocookie.com/embed/n5oWpJ8q6oc" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" width="597"></iframe></div>
</div>
</li>
</ul>
<br />
<ul>
<li class="Customer Visible">
<div class="MessageHeader">
<h3>
Descripción:</h3>
<div class="Clear">
</div>
</div>
<div class="ArticleFAQContent">
<div class="message">
<iframe allowfullscreen="" frameborder="0" height="486" marginheight="0" marginwidth="0" scrolling="no" src="https://www.youtube-nocookie.com/embed/n5oWpJ8q6oc" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" width="597"></iframe></div>
</div>
</li>
</ul>
<br />
OTRS: 3.1.18, OTRS::ITSM 3.1.10
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: (SOLVED) How to embed a Youtube video into an FAQ articl
The problem is daisy chaining. Even if you only linked to one external site, anything that site provides via third party is allowed as well.bayerex wrote:But the only possible "source" in this case can be Youtube, right?crythias wrote:It's a security issue because it allows popups from *any* source.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask