I have a youtube video on my website:
<div id="video">
<iframe width="560" height="315" src="https://www.youtube.com/embed/some_video" frameborder="0" allowfullscreen></iframe>
</div>
after some fixed time, I want to pause it and ask the user a question by overlaying a form over the video:
<h1>how do you like the video so far? </h1>
<div id="question">
<form>
<input type="radio" name="question" value="poor" checked>Poor<br>
<input type="radio" name="question" value="good">Good<br>
<input type="submit" value="Submit">
</form>
</div>
What would be the javascript code to pause the video after a fixed period of time and what would be the css for displaying the form nicely? Basically I want to mimic the way lectures on coursera.org once looked like.