View Full Version : BB Code Request
EasyEazy
04-26-2015, 10:18 PM
Looking for some help if possible.
This website http://xboxclips.com contains all gaming clips from xbox live. Could someone generate a BB code so we can embed the videos into the vBulletin much like some have done with You Tube?
So for example http://xboxclips.com/y0gurt%20m4/4aeead09-04c6-4415-ae7e-010bc781b790/embed
That video into a forum post when we wrap BB Code tags around it.
Thanks in advance
PinkMilk
04-27-2015, 01:49 AM
It could be done with iframe...
Title:xboxclips
BB Code Tag Name:xbc
Replacement:
<iframe src="{param}" width="560px" height="324px" frameborder="0" scrolling="no"></iframe>
Example: http://xboxclips.com/dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba/embed
Description: Whatever you like
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: Yes
However...This could be abused and anything/any page put into it.
The fix for this would be to make members only enter curtain parts of the embed url such as the part highlighted in red:
http://xboxclips.com/dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba/embed
and change replacement to:
<iframe src="http://xboxclips.com/{param}/embed" width="560px" height="324px" frameborder="0" scrolling="no"></iframe>
and example to:
dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba
...however this is not a "simple" cut and paste thing for members and most will probably just paste the full link and then wonder why it didn't work. I'm not saying members are stupid but 99.9% would assume/expect it to be a case of the full url not just a part of it.
EasyEazy
04-27-2015, 05:17 AM
It could be done with iframe...
Title:xboxclips
BB Code Tag Name:xbc
Replacement:
<iframe src="{param}" width="560px" height="324px" frameborder="0" scrolling="no"></iframe>
Example: http://xboxclips.com/dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba/embed
Description: Whatever you like
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: Yes
However...This could be abused and anything/any page put into it.
The fix for this would be to make members only enter curtain parts of the embed url such as the part highlighted in red:
http://xboxclips.com/dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba/embed
and change replacement to:
<iframe src="http://xboxclips.com/{param}/embed" width="560px" height="324px" frameborder="0" scrolling="no"></iframe>
and example to:
dylan%20is%20white/ce62cb9d-6029-4810-b5cd-99f6927afcba
...however this is not a "simple" cut and paste thing for members and most will probably just paste the full link and then wonder why it didn't work. I'm not saying members are stupid but 99.9% would assume/expect it to be a case of the full url not just a part of it.
Thank you so much for your time. It works perfectly. My users will be able to use the second option you posted as thats how we do our You Tube & Vine clips.
Thanks again.
Black Snow
05-01-2015, 11:45 AM
They are pulling the content from this website:
http://gameclipscontent-t2004.xboxlive.com
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.