date_default_timezone_set('America/Los_Angeles');Now it goes to the current day, with some lag for the West coast. In the future I'll get it to default to the previous day if it's before noon or if no games have started, something like that.
I also made it so that clicking on the video will play/pause it following the advice from Stack Overflow here by user2070775, so I just added to the video box the following
onclick="this.paused ? this.play() : this.pause();"It was really a simple fix, but makes it a lot easier. In the future I could make it easier to jump to the next highlight or something like that.
Check it out here: http://honus-1064.appspot.com/
No comments:
Post a Comment