1. Dodamies uz: ACP --> Management --> Custom BBCode --> Add New BBCode 2. Aizpildam visus luciņus:
Custom BBCode Title: YouTube
Custom BBCode Description: Lietot šo, video apskatei
Custom BBCode Example:
KODS
[YouTube] VIDEO ID [/YouTube]
Custom BBCode Tag: youtube
Use Option in tag? : No
Custom BBCode Replacement:
KODS
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{content}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{content}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
Kā viņu izmantot?
KODS
[youtube]VideoID[/youtube]
VideoID vietā ir jāraksta beigas no adreses:
SQL
http://www.youtube.com/watch?v=Fs9WdVvIvLM
Lai būtu šādi:
KODS
[youtube]Fs9WdVvIvLM[/youtube]