Describe the bug
When playing a video stream in the web player, if you refresh the page, you get given a plain error page saying "Value cannot be null. Parameter name: path".
When watching the stream, before refreshing, the URL is always the same: http://<server address>/web/index.html#!/videoosd.html
After refreshing, the URL is set to http://<server address>/web. At this point if you press the browser's back button it will keep redirecting you back to the same error page, unless you press back fast enough to get back into the main UI (still doesn't get you back to the stream).
It looks like there is no browser URL routing being done for streams so when you refresh it it doesn't know what stream to go back to, it only knows you were on videoosd.html.
To Reproduce
Expected behavior
I would expect refreshing the page to continue the movie/TV episode where you left off, just like Plex does.
Logs
Screenshots

System (please complete the following information):
Additional context
I guess I should have made this issue in the jellyfin-web repository, so feel free to move it.
There is already a closed issue there regarding this (https://github.com/jellyfin/jellyfin-web/issues/289) but I don't think it should be closed as this is evidently not fixed.
I don't think returning to the home page should be considered a fix either. Refreshing shouldn't take you to a completely different page from which you have to navigate back to where you were.
I've wanted to fix this for ages but it really requires a huge refactor of the video playback objects, which is probably why no one else has fixed this either.
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.
Confirmed the issue just now on 10.4.0 and 10.4.3. It appears that upon a refresh, the app redirects to the /web root, creating a null path for the server and causing the error. I'm not sure of the status of the current master, but this is definitely an issue that I'd also like to see not go stale.
I have the same issue, and also, I can sometimes have the video start and the main page appear on top of it with everything working and video in background. I have to keep a bookmark to go back home everytime it happen.
Most helpful comment
Confirmed the issue just now on 10.4.0 and 10.4.3. It appears that upon a refresh, the app redirects to the /web root, creating a null path for the server and causing the error. I'm not sure of the status of the current master, but this is definitely an issue that I'd also like to see not go stale.