vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   BB Code Enhancements - ESPN Video BBCode (https://vborg.vbsupport.ru/showthread.php?t=157051)

glorify 09-04-2007 10:00 PM

ESPN Video BBCode
 
This should work with most versions of VB, but tested on 3.6.8. I took anywares YOUTUBE BBCode 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

Installation:

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

Step 2:

Title:
ESPN BB Code

Tag:
espn

Replacement:
Code:

<!-- 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:
[espn=AFC West QB Preview]2998284[/espn]

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.


All times are GMT. The time now is 02:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03746 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete