Closed kittsville closed 8 years ago
The branch can currently read a gif, sound and start time from the URL and choose the highest priority appropriate plugins for both media types. The branch cannot write to the URL.
Error handling needs some headway, along with TheForm's submission processing, before writing to the URL can happen. HTML5 History API and a whole bunch of new code will be needed to implement this so I want to refactor things a bit first.
It'll probably be a few more days until I come back to this.
Because all my local sites are /localhost/site/ using an absolute URL creates an invalid URL. While it's perfectly sensible code for gifsound2.com it would mean I'd need to either change my local configuration, add local config detecting code or remove the <base>
tag that makes relative URLs go to /assets.
I guess the base tag only saves a few bytes anyway so I should probably remove it.
The site is giving an error on loading a GifSound from URL params. TheGif should be being set but isn't.
Back/Forward navigation handling also needs adding. WP-Librarian's use of the History API should make implementing this pretty easy.
I might create an issue later specifically for setting the form's values given the URL params. It'd require having plugins rebuild URLs from params (which might not be possible for all plugins in the future) so it'll be enough of a topic to warrant its own issue.
Progress is on the
url-params
branch