api-samples icon indicating copy to clipboard operation
api-samples copied to clipboard

stopVideo() not working properly

Open thebilljustin opened this issue 4 years ago • 1 comments
trafficstars

Im trying to stop the video from playing by using the stopVideo() but what it does is replay the video

thebilljustin avatar Jun 01 '21 10:06 thebilljustin

Im trying to stop the video from playing by using the stopVideo() but what it does is replay the video

From the docs there is:

Important: Unlike the pauseVideo function, which leaves the player in the paused (2) state, the stopVideo function could put the player into any not-playing state, including ended (0), paused (2), video cued (5) or unstarted (-1).

If it goes to video cued, would autoplay on do it?

lmstearn avatar Aug 22 '23 13:08 lmstearn