mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00

When the changeMedia frame loads a new Google Drive video, @yt is still set from before and moreover @yt.ready is still true, so calling play() can result in a TypeError if the new embed hasn't loaded yet (this seemed to happen consistently in Chrome and I was unable to make it happen in Firefox).