Live data from Hacker News

NBA Highlights – Search for video of NBA plays

3ball.io

21–30 of 41 posts

Re: NBA Highlights – Search for video of NBA plays

#22
post #19

Earlier quoted context omitted.

You can get all the sitemaps here; http://www.nba.com/video_sitemap_index.xml

How were you able to find that sitemap? Is there one for stats.nba.com?

Not sure mate, but you can find a bunch through G; https://www.google.com.au/search?q=inurl%3Axml+site%3Anba.co...

Re: NBA Highlights – Search for video of NBA plays

#24
post #23

Typed in "5x5", found nothing. However rare of a performance, Draymond pulled it off last season so it should be relatively recent.

This site appears to only have clips of individual plays, so neither a 5x5 nor a triple double would appear except as a long set of highlights. And not every play is a highlight; I checked a recent Russell Westbrook game and it had every assist but only about half of his scoring plays.

Re: NBA Highlights – Search for video of NBA plays

#25
I can't say for sure this is what 3ball is using, but here is an XML file from NBA.com listing videos with associated titles, descriptions, thmbnails, and video urls.

http://www.nba.com/sitemap_videos_0001.xml

However it appears outdated since the dates only go up to 8/4/2016.

Re: NBA Highlights – Search for video of NBA plays

#26
post #17

Earlier quoted context omitted.

> A search for Steve Nash showed a Steph Currey highlight as result one for me Presumably because Nash is on the warriors coaching staff.

I can't find any retired players, maybe you can. Larry Bird, Magic Johnson, etc. Pretty sure it's just this year for results.

I'm sure you're right, just meant to explain the connection between Nash & Curry.

Re: NBA Highlights – Search for video of NBA plays

#27
post #9

Earlier quoted context omitted.

My site ( http://eaganr.com/nba/ ) used to do this. But they changed up their video URLs, wondering how Matetricks gets the new URLs.

I didn't build this, it's a site that's been trending on my news feed. Two people in my network built it over a weekend.

I would tell those 2 guys to build this out including parts that should be there but they need the data, etc, targeting it as a value-add service that Disney can sell to ESPN subscribers. Done properly with multiple sports over multiple years and consistent annotations, I would think sports fans would go nuts over this, wouldn't they? (Any sports fans here?) Like, think of the ability to jump immediately to the video of most any noteworthy event in a sports event in recent history - "hey, remember that time PlayerX did that funny fake tag out to PlayerY? Hey let's pull that up and watch it, grab this slider you can move it back and forth to see exactly how he pulled off that trick, hahaha awesome".

I think Disney has plenty enough in-house talent and they're usually pretty forward thinking, it's surprising they haven't done something along these lines.

Re: NBA Highlights – Search for video of NBA plays

#28

I'm a big basketball fan (mostly college). Where are you sourcing the videos? Also, are you manually tagging each video with player names, teams, and keywords or is there some magic happening on the backend?

Just from a cursory glance at the results, it seems like they're simply providing a naive search on the play-by-play descriptions that the NBA provides (e.g. http://data.nba.net/data/10s/prod/v1/20161212/0021600366_pbp... ). No computer vision behind-the-scenes magic, unfortunately.

> No computer vision behind-the-scenes magic, unfortunately.

Theoretically, it shouldn't be terribly technically difficult to attach a few sensors to each player to get a relatively hi-res 3D representation of each player's position throughout the game, should it?

Annotating the action accurately, not so easy, or might there be some trick?

Re: NBA Highlights – Search for video of NBA plays

#29
I tried like 8 queries and none of them yielded a single relevant result. Most of them didn't yield a video at all. Granted, they were difficult/obscure, but didn't make a great impression.

If this needs some special syntax or keywords, you should let the user know.

Re: NBA Highlights – Search for video of NBA plays

#30
Would be great if it could learn which were most likely to be highlight plays based on the number of times they were clicked. And then give those priority in the results list. Also, maybe prioritise a player's involvement in the play.

e.g., if I search "westbrook dunk", I probably don't want the normal dunks first, or the time he passed to someone else who then had the dunk. Show me the great Westbrook dunks first, then the normal ones, then the assists to other dunkers.

Post reply on HN