This Facebook Video BBCODE is auto responsive.
Admincp> Custom BB Codes> Add New BBCode
Title:
Facebook Video.
BB Code Tag Name:
fbv
Replacement:
Code:
<vb:literal><script src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2" async></script>
<div class="fb-video" data-href="{param}" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="{param}"><a href="{param}"></a></blockquote></div></div></vb:literal>
example:
Code:
<fbv>https://web.facebook.com/syria.care/videos/1476602655759901/</fbv>
*** replace <fbv> to [fbv] - If I do the correct bbcode it shown the video
description:
Embed Facebook videos in your VB forum.
Use {option}
No
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
No
P/S: If you have button image you can define one it will show in the editor toolbar.
How to get the facebook video url?
Right click on any fb video, it will pop up, PLAY, MUTE, SHOW VIDEO URL,. Click on show video URL. Copy all that and use it for your new bbcode.