![]() |
Post edited because of new arrangement with the mod author. This code has been PM'd to the mod author to be included.
|
Good work, but you may not be out of the woods just yet... Did you notice the s172 and vid172? You should check a lot of different photobucket videos and see if this changes - it does! I have one that uses s178! This means two things need to be extracted...
It might be better to extract just enough info to use in the bbcode rather than the entire URL (this is what I usually do). This particular bbcode will need to use the option option in order to pass the second bit of information. Note how I've changed things below: Code:
<embed width="430" height="389" type="application/x-shockwave-flash" wmode="transparent" src="http://vid{option}.photobucket.com/remix/player.swf?videoURL=http://s{option}.photobucket.com/{param}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> Notice that I am using the convention with vid on the end of bbcode tags. This is to make sure there is no conflict with other tags with the same name! I would then make a regular expression to pull out the data and feed it into the bbcode tag. This is why it is also important for each service to figure out if other domain names or host names are also possible from the same domain - for example youtube can be: youtube.com, www.youtube.com, or in future it may even be youtube.de, youtube.co.uk, etc. This also happened with google. Youtube also uses two completely different formats, so I have to trap both of those as well. That's why for some of these services you have a try a few different ones and see if the details change slightly! For these codes it's probably best if you start to put them all into a text file, rather than posting them one by one. They won't be of any use to anyone in this mod until I write the regular expressions to match them. If you see post #1 I wrote some info on this - but to be honest they are a little tricky, so probably best if I do the regular expressions for the bbcode you make :-) That way it would be better not to clutter up the thread - or maybe send me a PM with the details. When they are in a forum that others can use, the best thing is that I roll them up into a new version. |
Ok, just to be clear. I make the BB Code and you do the expression bit? Does the bb code have to work completely or just enough to embed? For example: the clipshack one wont work with the mod unless the Clip.aspx is changed to player.swf by your mod.
So if I am able to get it to embed, you will be able to convert it alright? |
I just also wanted to mention that The Geek has been kind enough to help me out with some large chunks of code which I'll be incorporating into the new version. I just wanted to publicly acknowledge that, as a lot of the code in the new version will probably be his! Maybe you can go and visit his site and buy some of his cool mods: http://www.thevbgeek.com/
|
Quote:
Please don't release those BBCODES publicly - why? Because in the next version I won't be using the same bbcodes, and I don't want to have more bbcode floating about before v1.2 is released! I'll convert those bbcodes to the new arrangement. |
Excellent Hack! Installed! MOTM??? It's got my vote!
|
Quote:
IGN Code - in my signature. Game Trailers Code - in my signature. Photobucket code - posted a few posts back. Clipshack - sent by PM. Sharkle - sent by PM. Current - sent by PM. |
Sweet !!! Installed on 2 sites now :D
Would be even sweeter to pick up old posts and convert those links to new BBCODE's automagically !! |
the version I submitted will.
|
Which version you submitted Sam ?
|
All times are GMT. The time now is 07:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|