2011-03-10, 09:02 PM
2011-03-11, 09:31 AM
dunno if this is the right way to do this BUT ive just tested it out & it works on my board...
Go into Admin CP / configuration / MyCode / Ad New Code
Title YouTube Clips
Regular Expression \[youtube\](.*?)\[/youtube\]
Replacement <iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>
Enabled? YES
then save & it should work when adding the code for youtube after =
EG:
Go into Admin CP / configuration / MyCode / Ad New Code
Title YouTube Clips
Regular Expression \[youtube\](.*?)\[/youtube\]
Replacement <iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>
Enabled? YES
then save & it should work when adding the code for youtube after =
EG:
[youtube]-oQha1y-uc0[/youtube]
2011-03-11, 10:04 AM