I would use the JS API for video and use the event callbacks built into the player to make the questionnaire visible.
== UPDATE ==
Good - so the link is a step-by-step example of how to enable JS controls and player callbacks. But ... here we go ..
step 1 is to add "? api = 1" after your initial embed code.
step 2 - upload your Froogaloop library so you can listen to events ...
step 3 will be to set up a callback to handle any event you want to listen to ... The example to the right of this page is fantastic:
var iframe = $('#player1')[0], player = $f(iframe), status = $('.status'); // When the player is ready, add listeners for pause, finish, and playProgress player.addEvent('ready', function() { status.text('ready'); player.addEvent('pause', onPause); player.addEvent('finish', onFinish); player.addEvent('playProgress', onPlayProgress); }); // Call the API when a button is pressed $('button').bind('click', function() { player.api($(this).text().toLowerCase()); }); function onPause(id) { status.text('paused'); } function onFinish(id) { status.text('finished'); } function onPlayProgress(data, id) { status.text(data.seconds + played'); }
So, depending on when you want your survey to show, you can just click on one of them ...
player.addEvent('ready', function() { status.text('ready'); $("#survey_button").show();
has the meaning?
============= OTHER UPDATE =================
here's a working fiddle: http://jsfiddle.net/QkGRd/10/ . You might want to read a little about resource investing and how jsfiddle works.
source share