2009-03-23, 05:19 PM
I saw some youtube mycode on the board but this is a different one.
this MyCode will allow you to copy full URL of youtube and just put in MyCode like that
Go to ACP -> Configuration ->MyCode -> Add New MyCode
And put the following values to your new Mycode:
Title
Save it and it was!
For testing
Test Value:
^^mike16os
this MyCode will allow you to copy full URL of youtube and just put in MyCode like that
[youtube]http://www.youtube.com/watch?v=xxxxxxx[/youtube]
Go to ACP -> Configuration ->MyCode -> Add New MyCode
And put the following values to your new Mycode:
Title
Youtube
Short Descriptionyoutube video code
Regular Expression \[youtube\]http:\/\/(.*?)youtube.com\/watch\?v\=(.*?)\[/youtube\]
Replacement<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$2"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/$2" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Enabled?yes
Save it and it was!
For testing
Test Value:
[youtube]http://www.youtube.com/watch?v=sZp3Gjpltc4[/youtube]
^^mike16os