2009-05-16, 09:06 PM
Go to your ACP in:
www.yoursite.com/admin/index.php?module=config/mycode
Follow these steps in creating a new mycode
Title: Youtube HD
Short Description: YoutubeHD
Regular Expression:
Replacement:
PS: Replace pt-br with with your language code
Result:
[attachment=13889]
www.yoursite.com/admin/index.php?module=config/mycode
Follow these steps in creating a new mycode
Title: Youtube HD
Short Description: YoutubeHD
Regular Expression:
\[video=hd\]([0-9a-zA-Z\-_ ]+)\[/video\]
Replacement:
<object width="854" height="450"><param name="movie" value="http://www.youtube.com/v/$1&hl=pt-br&fs=1&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/$1&hl=pt-br&fs=1&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="854" height="450"></embed></object>
PS: Replace pt-br with with your language code
Result:
[attachment=13889]