Se pari shkojme >
Goto AdminCP => Custom BBCodes => Manage BBCodes => Add new BBCODE
Titulli>
YouTube BB Code
tag:
yt {can be youtube or w/e but yt is shorter =p}
replacement:
HTML
Cito:
<!-- Start Youtube BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="https://www.youtube.com/watch?v={param}" title="Click to view this video on youtube" target="_blank">{option}</a>
</td>
</tr>
</thead>
<tr>
<td>
<object width="425" height="350"><param name="movie" value="https://www.youtube.com/v/{param}"></param><embed src="https://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
</td>
</tr>
</table>
<!-- End Youtube BBCODE -->
Example:
[yt=video name]ejOJkcs-a7s[/yt]
Discription:
YouTube embeded videos
Use {option}
yes
Screenshot:
So heres how to use it
lets say the video you would like to have displayed on your forum is located at
Cito:
https://www.youtube.com/watch?v=U_Wo5_LwYeY the corect usage of this code would then be
[ yt=Rosebot]U_Wo5_LwYeY[/yt]