Wait for iframe to be initted before calling play #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the case of a video being the first slide, it is possible that we call the postMessage to play it before it has been successfully initted, causing the play event to never register on the player.
We potentially need to wait for at least the first slide to have been initted successfully before we start. Alternatively, in the
go
orstart
functions, check if embed has been initted, and if not, set a timeout and try again in a bit.