- From: Mark Foltz via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 May 2016 19:02:30 +0000
- To: public-secondscreen@w3.org
mfoltzgoogle has just created a new issue for https://github.com/w3c/remote-playback: == setupRemotePlayback() called twice in Example 2 and Example 3? == It looks like `setupRemotePlayback()` is called twice when the user clicks remotePlaybackBtn, once in the resolver for `connect()` and again in the `onstatechange` event handler when the state transitions to `connecting`. Also, you may want to disable remotePlaybackBtn when the state changes to `connecting`, and re-enable it on a transition to `disconnected`. Maybe this would be done in the setup/stop helper functions? Please view or discuss this issue at https://github.com/w3c/remote-playback/issues/40 using your GitHub account
Received on Friday, 20 May 2016 19:02:31 UTC