Tips for Successful Data Collection

'var player; function onYouTubeIframeAPIReady() { player = new YT.Player('ytplayer', { height: '390', width: '640', videoId: 'NdU83XFgXRM', events: { 'onStateChange': function(event) { if (event.data == YT.PlayerState.PLAYING) { console.log('function youtube iframe'); pauseAudio(); } } } }); }