nba-go icon indicating copy to clipboard operation
nba-go copied to clipboard

"Live" styled replay

Open qharlie opened this issue 7 years ago • 3 comments

Has anyone talked about implementing replays ? I searched but I couldn't find it.

qharlie avatar Apr 26 '18 01:04 qharlie

Hey @qorrect Could you describe more about what does "replay" look like? This may help others to implement it.

homerchen19 avatar Apr 27 '18 08:04 homerchen19

It would look just like the live stream, with play by play, just played at a later date. I'd like to implement it but I wasn't sure if it had been talked about / if its insanely hard to do for some reason.

qharlie avatar Apr 27 '18 15:04 qharlie

I'd like to add an extra option to show a replay of a game , using the playByPlayData 'clock' element as the timer ( just delays by the number of seconds from the previous play ) . I have a working version that shows a 'sped up' replay ( max timeout of 10 seconds ) , but I'm unsure where to put the option to show a replay.

I could add a handler on the games list that when 'R/r' is pressed on an old game it shows the replay ( and enter shows the summary ) , what do you think ?

qharlie avatar May 07 '18 14:05 qharlie