Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History API #20

Open
indolering opened this issue Dec 21, 2013 · 0 comments
Open

History API #20

indolering opened this issue Dec 21, 2013 · 0 comments

Comments

@indolering
Copy link
Member

To enable a native experience, websites loaded in the child iFrame need to pass navigation changes to the parent frame using postMessage(). This should be fairly straightforward and not require any understanding of the rest of Speech.js's code.

I was planning on wrapping the location with Object.prototype.watch() and passing location.href on every change. In the parent window, it would simply examine the URL for changes and trigger a navigation event However, this doesn't handle back/forward correctly and I haven't worked with the history API previously.

I need to focus on other items for the Dec 24th Alpha launch and this should be a snap for anyone familiar with the History API.

@indolering indolering changed the title History API <-EASY History API May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant