Olga Stoolina
Olga Stoolina

Reputation: 1

Youtube Iframe API not playing video second time on mobile devices

We' ve created web site with Youtube Iframe API . On the copmuter everything is playing OK, but we have problem with mobile devices. The video plays just one time. When you push the play button again it doesn't work.

We checked everything and decided that there is problem with youtube player.

I would very grateful for any solving this problem!

p.s. Devices are: Android, IOS (Phones and Tablets), browsers are Chrome and Safari

Upvotes: 0

Views: 1026

Answers (1)

jywsn
jywsn

Reputation: 13

I've been having the same issue on Safari on iOS 8 -- videos will not replay after they play through to the end. Right now, I have a temporary fix in place: when you detect a state change to YT.PlayerState.ENDED (0 = ended), call seekTo(0) and then pauseVideo() on the player.

Upvotes: 0

Related Questions