diff --git a/README.md b/README.md index 1d1f81d..3f34f68 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ session.sendMessage(namespace, msg, onSuccess, onErr); - Cons: Reciever gets overridden with page load, so you can no longer communicate with it without stopping the cast and restarting. ```js -// iframe method +// window.location method var namespace = 'urn:x-cast:com.url.cast'; var msg = { "type": "loc", @@ -72,4 +72,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.