At the moment, the URL in the browser history and the view can come apart in a few ways. The URL should always reflect the current state of the viewer. For this to happen,
[x] Changing the resource portion should automatically navigate to the new resource
[x] If the location-within-resource portion can't be parsed (or is omitted), it should be replaced with the current location or the last-known location (on load).
[x] If the focused annotation portion is changed to something that can't be parsed, it should be unset
[x] If the location-within-resource portion is out of bounds, it should go to the nearest boundary
[x] For PDF
[X] For Media
Omitting the location-within-resource shouldn't throw an error, since it should make sense to link to an room and/or event but no particular location in a resource.
At the moment, the URL in the browser history and the view can come apart in a few ways. The URL should always reflect the current state of the viewer. For this to happen,
Omitting the location-within-resource shouldn't throw an error, since it should make sense to link to an room and/or event but no particular location in a resource.