[MyCode]Youtube with iframe
#5
Here is a better replacement

Go here
yourforum/admin/index.php?module=config-mycode&action=add

Regular Expression
\[youtube\](.*?)\[/youtube\]

Replacement
<div style="width:100%;height:auto;max-width:560px;max-height:315px"><iframe width="100%" height="315px" src="https://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe></div>
Reply


Messages In This Thread
[MyCode]Youtube with iframe - by RoD - 2015-12-23, 08:01 AM
RE: [MyCode]Youtube with iframe - by SDM - 2016-04-08, 11:58 AM
RE: [MyCode]Youtube with iframe - by Rika - 2017-02-14, 06:03 AM
RE: [MyCode]Youtube with iframe - by Corey H - 2017-02-14, 06:16 AM
RE: [MyCode]Youtube with iframe - by Stormyy - 2017-02-25, 08:55 AM
RE: [MyCode]Youtube with iframe - by Jake692021 - 2021-02-14, 04:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)