I´m curious about how the timestamp in the URL gets updated as the video plays. Is the server sending GET requests every second?

CS50 video player with the timestamp in the URL highlighted

1 Answer 1


The only way I could think of is the history API.


It's often used by single page applications (SPAs) to implement routing, so if you use browser controls to reload or move back and forth, you get more or less to the same state as before.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .