Skip to content

History API #20

@indolering

Description

@indolering

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions