PDA

View Full Version : BB Code Enhancements - ESPN Video BBCode


glorify
09-04-2007, 10:00 PM
This should work with most versions of VB, but tested on 3.6.8. I took anywares YOUTUBE BBCode (https://vborg.vbsupport.ru/showthread.php?t=142236) and tweaked it for the NEW ESPN Video. If you haven't seen the video, it is by far the clearest flash video around.

Very easy to use. Just input the title, then past everything AFTER "videoID=" in the replacement :)

Demo (http://www.glorifythepast.com/forums/showthread.php?t=19120)

Installation:

Step1:
Goto AdminCP => Custom BBCodes => Manage BBCodes => Add new BBCODE

Step 2:

Title:
ESPN BB Code

Tag:
espn

Replacement:
<!-- Start ESPN BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="http://sports.espn.go.com/broadband/video/videopage?videoId={param}" title="Click to view this video on ESPN" target="_blank">{option}</a>
</td>
</tr>
</thead>
<tr>
<td>
<object width="440" height="361"><param name="movie" value="http://sports.espn.go.com/broadband/player.swf?mediaId={param}"></param><embed src="http://sports.espn.go.com/broadband/player.swf?mediaId={param}" type="application/x-shockwave-flash" width="440" height="361"></embed></object>
</td>
</tr>
</table>
<!-- End ESPN BBCODE -->

Example:
2998284

Discription:
ESPN embeded videos

Use :
yes

Button Image:
attached

Please applaud loudly, please click install ;)

Gunshot
09-05-2007, 06:58 PM
very, VERY NICE!!

but

can you configure it so that the font color can be changed?

I don't want to change the font colors of my site just so they conform to this player

thanks

glorify
09-06-2007, 12:00 AM
Thanks. The font color of the case is just standard TCat. It will be the same as your forum style. The player controls built into ESPN's player come from ESPN themselves.

Gunshot
09-07-2007, 03:13 AM
yeah I realize that
but I have to change the font color of the second alternating color to have an effect on my custom style's tcat or thead

I have this problem with a lot of mods
guess I'll figure it out

glorify
09-07-2007, 11:32 AM
You could change 'tcat' to 'thead' and see if that works for ya.

....Or, you could take out everything in the code from <thead> to </thead>.

Gunshot
09-08-2007, 05:55 AM
What I really need to do is make our own video player

we have tons of NBA players that visit our site and are willing to do vids and Interviews
Stat, Carmelo, Kobe, Deron Williams, Peirce.......and many more have done Interviews, but vids would also be cool
I guess we could use realplayer

Zia
09-18-2007, 07:50 AM
interesting idea...............

glorify
09-18-2007, 05:50 PM
Thanks.

almightyone
09-18-2007, 06:10 PM
i removed this takes entirely to long to load something must be wrong with espns video feeds or something

glorify
09-18-2007, 11:09 PM
Don't know what the prob is--I haven't had any at all. Check the demo link again.

tminus
09-19-2007, 04:57 AM
What I really need to do is make our own video player

we have tons of NBA players that visit our site and are willing to do vids and Interviews
Stat, Carmelo, Kobe, Deron Williams, Peirce.......and many more have done Interviews, but vids would also be cool
I guess we could use realplayer
You can just use VB Anymedia Player (https://vborg.vbsupport.ru/showthread.php?t=150491). It supports over 30 sites (including ESPN) and plays the embedded vid within the post. It also plays media files like flv, mov, wmv, mp3 and images. It has served me well.

almightyone
09-20-2007, 02:46 AM
at the time the demo would not load either so must ahve been espns site i will hold off this for no more sports fans than i have thnx though