View Single Post
Old 01-19-2016, 12:33 PM #1
napy8gen's Avatar
napy8gen napy8gen is offline
Administrator
 
Join Date: Dec 2015
Posts: 105
napy8gen napy8gen is offline
Administrator
napy8gen's Avatar
 
Join Date: Dec 2015
Posts: 105
Default vb3 Responsive Youtube bbcode

Admincp> custom BB Codes > Add New BBCode

Title: Youtube

BB Code Tag Name: youtube

Replacement:

HTML Code:
<div class="videoWrapper">
<iframe width="560" height="315" src="//www.youtube.com/embed/{param}" frameborder="0" allowfullscreen></iframe>
</div>
Example:
Quote:
<youtube>QQfJkEVYLvA</youtube>

PLEASE CHANGE ABOVE CODE FROM<youtube> to [youtube]
I have to put dummy codes because if entered working code, it shows video instead of codes
For clearer example code please refer screenshots.


Description:
Quote:
Embed youtube video code for your VB forum..
Use {option} NO

Button Image:
Quote:
images/SultanThemeVB3R/youtube-icon.png
Remove Tag If Empty YES

Disable BB Code Within This BB Code YES

Disable Smilies Within This BB Code YES

Disable Word Wrapping Within This BB Code YES

Disable Automatic Link Parsing Within This BB Code YES


Attached Images
File Type: jpg youtube-bbcode.jpg (16.8 KB, 2 views)
File Type: png youtube-icon.png (753 Bytes, 19 views)
napy8gen is offline   Reply With QuoteReply With Quote