youtube bbcode

Started by Chen Zhen, October 21, 2014, 12:06:34 am

Previous topic - Next topic

Chen Zhen

October 21, 2014, 12:06:34 am Last Edit: April 09, 2017, 09:44:22 pm by Chen Zhen
name: youtube
description: youtube video

[html2]
~options~
type: [tag]content[/tag]
no parsing

opt youtube icon (included)


[/html2]


[html2]

Example Usage:


Code for use within the BBCode editor:

<iframe width="560" height="315" src="//www.youtube.com/embed/{content}"; frameborder="0" allowfullscreen></iframe>
[/html2]





NEW! ~ Optional Youtube BBCode for Personalized BBC v1.91 + ~ Works with id or url
Note: This specific code is only native to this modification and will not work with other BBCode modifications.
It will work with a BBCode user input of a Youtube url or just a Youtube ID


[html2]
Example Usage:


Code for use within the BBCode editor:

<iframe onload="pbbcHttpRequest(this)" style="width:560px;height:350px;border:0px;" src="https://www.youtube.com/embed/{content}"; frameborder="0" allowfullscreen></iframe>
[/html2]