To handle the case of someone joining a session in progress, you'd want to do something like:

```js
session.hub.on("hello", function () {
  youTubeIframes.forEach(function (frame) {
    publishPlayerState({target: frame});
  });
});
```