Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   The Blue Alliance (http://www.chiefdelphi.com/forums/forumdisplay.php?f=174)
-   -   Test new TBA feature (http://www.chiefdelphi.com/forums/showthread.php?t=59219)

Greg Marra 22-10-2007 08:05

Re: Test new TBA feature
 
Quote:

Originally Posted by cbale2000 (Post 647271)
EDIT: I did manage to test it out on our team forums using a DoHTML tag, It gave me the player with the videos but it also had a lot of extra code showing, not sure weather that was just the forum doing that or if it's a glitch. Thought it was worth mentioning. Also, when I tried to use my team number no videos showed up on the list, I could only get it to work with the default settings.

Unfortunately, we don't have any video from the events 703 competed at. Sorry :(. Hopefully we'll get some from events this year.

Regarding the code errors, can you be more specific? Copy and paste the extra code, attach a screen short, or send a hyperlink? I can figure out why it's not working so we can fix it for the future.

Thanks!

cbale2000 22-10-2007 16:02

Re: Test new TBA feature
 
Quote:

Originally Posted by Greg Marra (Post 647356)
Unfortunately, we don't have any video from the events 703 competed at. Sorry :(. Hopefully we'll get some from events this year.

Regarding the code errors, can you be more specific? Copy and paste the extra code, attach a screen short, or send a hyperlink? I can figure out why it's not working so we can fix it for the future.

Thanks!

Thats very odd, you used to have them for our matches at the 2007 Nationals, in fact I still have some of them that I downloaded from TBA onto my PC. What happened? Someone loose them? :yikes:

Anyways, heres what I got in terms of weird code:



Also, on our forum it seemed to cut off everything after it on the page including further posts.




Oh, and on a few totally unrelated notes:

1. TBA doesn't list our team as having competed in the finals at IRI. Yet we were the second team picked (out of the 4 team alliance) and played in every match the alliance played. Just thought I'd point that out.

2. Is there some glitch with the badge generator? I try to use the linking code it gives me but the image never appears and if I follow the images url it instead just redirects me to the main TBA page. :confused:

fimmel 22-10-2007 16:08

Re: Test new TBA feature
 
Quote:

Originally Posted by cbale2000 (Post 647436)
Also, on our forum it seemed to cut off everything after it on the page including further posts.

try changing the last 2 characters to the iframe from:
Code:

/>
to:
Code:

></iframe>
that fixed cutting the rest of the page off on my site

...forest

BenThompson 22-10-2007 16:35

Re: Test new TBA feature
 
237 has implemented it here. Good job TBA!

Greg Marra 22-10-2007 16:46

Re: Test new TBA feature
 
Quote:

Originally Posted by cbale2000 (Post 647436)
1. TBA doesn't list our team as having competed in the finals at IRI. Yet we were the second team picked (out of the 4 team alliance) and played in every match the alliance played. Just thought I'd point that out.

The Blue Alliance System does not currently support matches with four teams per alliance, as the IRI Finals were run. If FIRST changes the official alliance system, this may be updated, but for now it is a back-burner problem.

Quote:

Originally Posted by cbale2000 (Post 647436)
2. Is there some glitch with the badge generator? I try to use the linking code it gives me but the image never appears and if I follow the images url it instead just redirects me to the main TBA page. :confused:

Yes, you found a problem. The link doesn't know what to do if you do not enter colors into the color fields. I will add javascript validation. In the mean time, enter a color (even if just 000000 or FFFFFF) to circumvent this issue.

Quote:

Originally Posted by fimmel (Post 647437)
try changing the last 2 characters to the iframe from:
Code:

/>
to:
Code:

></iframe>
that fixed cutting the rest of the page off on my site

I will change the code to reflect this more compatible method. Thanks. Since I can't edit my old post any more:

How to add to your team's site!

To add it to your site, add the following code to your site where you want it to appear:

Code:

<iframe src="http://www.thebluealliance.net/tbatv/iframe_playlist.php?frontcolor=ffcc00&backcolor=660000&lightcolor=ffff00&year=2007&team=177" frameborder="0" height="470" width="395" scrolling="no"></iframe>

ParkerF 24-10-2007 21:54

Re: Test new TBA feature
 
This is a great feature. I'll be sure to add it to the new Robowrangler site coming up.

RyanCesiel 12-11-2007 21:54

Re: Test new TBA feature
 
http://www.jeroenwijering.com/?item=JW_Media_Player. x]!

I would give credit next time you do that..

Doug G 13-11-2007 01:06

Re: Test new TBA feature
 
Really slick feature that many of us can include on our sites. But one question... How to we ADD to the video archives on TBA? I have most of the Davis-Sacramento matches from last year - I posted them to SOAP, but they couldn't keep them. Where does TBA keep them? Youtube?

Greg Marra 13-11-2007 01:25

Re: Test new TBA feature
 
Quote:

Originally Posted by Doug G (Post 651397)
Really slick feature that many of us can include on our sites. But one question... How to we ADD to the video archives on TBA? I have most of the Davis-Sacramento matches from last year - I posted them to SOAP, but they couldn't keep them. Where does TBA keep them? Youtube?

We keep them on our own servers. I will PM you and we can get in contact and you can upload them to us so they will be available in our system :)

Thanks!

Cow Bell Solo 27-03-2008 00:05

Re: Test new TBA feature
 
Team 2207 has implemeted this feature on our website at http://www.whitebearlakerobotics.com, it is our 2007 video section.

This is an awesome feature TBA.

Nibbles 28-03-2008 04:31

Re: Test new TBA feature
 
Quote:

Originally Posted by fimmel (Post 647437)
try changing the last 2 characters to the iframe from:
Code:

/>
to:
Code:

></iframe>
that fixed cutting the rest of the page off on my site

...forest

I don't know why the XML tag shorthand was used, especially considering that iframes have been depreated, and the whole rest of the tag isn't valid XML anyways.

You MUST (rfc 2119) encode attributes with their entitles. This means replace the & with &amp; as shown:
Code:

<iframe src="http://www.thebluealliance.net/tbatv/iframe_playlist.php?frontcolor=ffcc00&amp;backcolor=660000&amp;lightcolor=ffff00&amp;year=2007&amp;team=177" frameborder="0" height="470" width="395" scrolling="no"></iframe>
This holds for both HTML and XML.

Teams use the XHTML format, team 237 for example, with invalid XML. The only reason no XML error parser errors show up is because browsers will not use an XML parser unless application/xhtml+xml is sent in the Content-type header (sending documents as text/html will make browsers use the standards mode SGML parser). Don't get me wrong, XHTML is great, I use an XSL parser to make edits to my teams website, you can't do that with plain old HTML :)

Iframes are really hackish, it would be much better to create a custom flash player that will grab the team list, instead of coding it in HTML loaded from an iframe, or link to the list of videos otherwise.


All times are GMT -5. The time now is 23:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi