Posts by Diogo Carmargo • 31 points
1 post
-
3
votes1
answer220
viewsA: In multiple Youtube videos, how to play in one and pause another?
To do this you need access to Youtube player events. function onYouTubePlayerReady(playerId) { var ytplayer = document.getElementById("MyYouTubePlayer"); ytplayer.addEventListener("onStateChange",…