The player view responds to calls to this method by updating to reflect the values of any known properties in the properties object.
When the video is cued and ready to play, the player will broadcast a 5.
As noted in the previous section, you can subscribe to events by adding an event listener when , and you can also use the function.
The function retrieves the embed code for the currently loaded video, starts to play the video, and displays the embed code in the page element that has an id value of embed-code.
January 6, 2016 The clearVideo function has been deprecated and removed from the documentation.
If you are using the object syntax described below to call these functions, then you can also queue or load a list of a user's uploaded videos.