PDA

View Full Version : BB Code Enhancements - PhotoBucket BB Code


angeljs
08-16-2012, 10:00 PM
Please mark as installed if you use this :)


I've been looking for a way to do this for a while, and though this code isn't perfect, it works with a small adjustment to the video link. If anyone can suggest a better way to do this, I'd be very pleased. :)

Note: When adding the video link from PhotoBucket, use the direct link and remove the following from it before adding it to your post:

?action=view&current=It won't work if you don't do the above, which is the part I could use some help with. Then your link should look something like this:

http://s605.photobucket.com/albums/tt132/username/yourvideo.mp4Anyhoo, here's the mod:

Title: PhotoBucket Video
BB Code Tag Name: pbv
Replacement:
<embed width="600" height="361" type="application/x-shockwave-flash" allowFullscreen="true" allowNetworking="all" wmode="transparent" src="http://static.photobucket.com/player.swf" flashvars="file={param}">Example: direct-link-to-video
Use {option}: No

I've attached a couple of images for you to use if you like.

angeljs
08-17-2012, 05:30 PM
Reserved

WIJI SEJATI
01-04-2013, 06:10 AM
Message
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<embed width="600" height="361" type="application/x-shockwave-flash" allowFullscreen="true" allowNetworking="all" wmode="transparent" src="http://static.photobucket.com/player.swf" flashvars="file={param}">

Toorak Times
01-04-2013, 11:11 AM
Ignore that and keep going, that seems to be a bug in 4.2

DAMINK
01-04-2013, 08:03 PM
I think you get that error because you did not enclose the {param} in double quotes.