Youtube video tracking in choice experiment

I included a YouTube video in my attributes, and it plays correctly; however, I keep getting error in my html code when I try to disable the next button before the video is watched.
I embed the video with iframe :
]]> then I
added validation script for youtubeAPI:

Has anyone used youtube video on surveyEngine before? How did you do it?

The video tutorial forces respondent’s to watch the entire video before they click through.

If you just want to include a video - that’s very easy.

  1. Create a text element

  2. switch to code view with the </> button to right in the formatting

  3. Paste in the embed code from your video hoster - e.g. youtube or vimeo

This will work out of the box.

You