I found that browser compatibility can be an issue when using Javascript with Qualtrics, so you try it in a different browser. More generally, however, this is a problem for someone who understands Javascript and its integration with Qualtrics better than I do. I gave up trying to fix the issue with the second video not advancing in my survey, so I omitted the advancing function altogether. You could try posting posting this code into JSfiddle or Codepen.io to troubleshoot the Javascript part. Another option is to hire a Qualtrics developer to write the code that works across browsers and can withstand YouTube's shifting video embedding policies.
Good point. The survey with the working version of the code is attached.
If you give me the email address associated with your Qualtrics account, I'll share with you the survey where the auto-advance feature works.
This is helpful, thank you. Your answer suggests that I can troubleshoot by browsing Javascript resources for a case where the iframe content reloads while the page stays the same.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.