Sunday, January 30, 2011

Your Interview with the President

Yesterday, President Obama participated in a live YouTube interview, taking questions from people all over the country about everything from the Dream Act to renewable energy to situation in Egypt. This year, over 142,000 questions were submitted and 1,382,000 votes were cast. Check out the video of your interview with the President. You can watch the whole thing or skip to your favorite questions using the links below.

.< MAK.listener = {}; MAK.listener.loaded = function (obj) { MAK.log('media loaded'); }; MAK.listener.state = function (obj) { if ((obj.newstate === 'PLAYING') && (MAK.seek.flag)) { MAK.seek.flag = false; setTimeout(function () { MAK.player.sendEvent('SEEK', MAK.seek.index);}, 100); } MAK.oldState = obj.oldstate; MAK.currentState = obj.newstate; MAK.log('state: ' + MAK.oldState + ' -> ' + MAK.currentState); }; MAK.listener.time = function (obj) { MAK.currentTime = obj.position; MAK.duration = obj.duration; }; MAK.addListeners = function () { if (MAK.player.addModelListener) { MAK.log('adding listeners'); MAK.player.addModelListener('LOADED', 'MAK.listener.loaded'); MAK.player.addModelListener('STATE', 'MAK.listener.state'); MAK.player.addModelListener('TIME', 'MAK.listener.time'); } else { setTimeout(function () { MAK.addListeners();}, 100); } }; // Play functions.. MAK.seek = function (seconds) { MAK.seek.index = parseInt(seconds, 10); if (MAK.currentState === 'PLAYING') { MAK.log('seek: currentState is "PLAYING".. sending SEEK to ' + MAK.seek.index); MAK.player.sendEvent('SEEK', MAK.seek.index); } else { MAK.log('seek: currentState is not "PLAYING".. sending PLAY event'); MAK.seek.flag = true; MAK.player.sendEvent('PLAY', true); } // Move to view the video player. jQuery('html,body').animate({scrollTop: jQuery(MAK.player).offset().top-75}, 500); }; MAK.startCheck = function () { // If the current URL video indexes, make it happen. var startMatch, startTime; startMatch = String(document.location).match(/#vseek(\d+)$/); MAK.log(startMatch); if (startMatch) { startTime = Number(startMatch[1]); MAK.log(startTime); if (startTime) { setTimeout(function () { MAK.seek(startTime);}, 200); } } }; // Ready function.. MAK.playerInit = function () { MAK.player = jQuery('#MAKhelper13057').siblings('div.embed').find('.swftools-wrapper object')[0]; // See if the player is fully loaded yet. if (!MAK.player || !MAK.player.addModelListener) { setTimeout(function () { MAK.playerInit();}, 100); } else { MAK.addListeners(); //MAK.startCheck(); } }; // Link setup function.. MAK.linkSetup = function () { jQuery('a[href~=#vseek]').click(function(e) { e.preventDefault(); var match, seconds; match = this.getAttribute("href", 2).match(/#vseek(\d+)$/); if (match) { seconds = Number(match[1]); if (seconds) { MAK.seek(seconds); } } }); }; jQuery(function () { // Action.. //MAK.debugMode = true; MAK.playerInit(); // Setup links. MAK.linkSetup(); }); //-->.< MAK.listener = {}; MAK.listener.loaded = function (obj) { MAK.log('media loaded'); }; MAK.listener.state = function (obj) { if ((obj.newstate === 'PLAYING') && (MAK.seek.flag)) { MAK.seek.flag = false; setTimeout(function () { MAK.player.sendEvent('SEEK', MAK.seek.index);}, 100); } MAK.oldState = obj.oldstate; MAK.currentState = obj.newstate; MAK.log('state: ' + MAK.oldState + ' -> ' + MAK.currentState); }; MAK.listener.time = function (obj) { MAK.currentTime = obj.position; MAK.duration = obj.duration; }; MAK.addListeners = function () { if (MAK.player.addModelListener) { MAK.log('adding listeners'); MAK.player.addModelListener('LOADED', 'MAK.listener.loaded'); MAK.player.addModelListener('STATE', 'MAK.listener.state'); MAK.player.addModelListener('TIME', 'MAK.listener.time'); } else { setTimeout(function () { MAK.addListeners();}, 100); } }; // Play functions.. MAK.seek = function (seconds) { MAK.seek.index = parseInt(seconds, 10); if (MAK.currentState === 'PLAYING') { MAK.log('seek: currentState is "PLAYING".. sending SEEK to ' + MAK.seek.index); MAK.player.sendEvent('SEEK', MAK.seek.index); } else { MAK.log('seek: currentState is not "PLAYING".. sending PLAY event'); MAK.seek.flag = true; MAK.player.sendEvent('PLAY', true); } // Move to view the video player. jQuery('html,body').animate({scrollTop: jQuery(MAK.player).offset().top-75}, 500); }; MAK.startCheck = function () { // If the current URL video indexes, make it happen. var startMatch, startTime; startMatch = String(document.location).match(/#vseek(\d+)$/); MAK.log(startMatch); if (startMatch) { startTime = Number(startMatch[1]); MAK.log(startTime); if (startTime) { setTimeout(function () { MAK.seek(startTime);}, 200); } } }; // Ready function.. MAK.playerInit = function () { MAK.player = jQuery('#MAKhelper13057').siblings('div.embed').find('.swftools-wrapper object')[0]; // See if the player is fully loaded yet. if (!MAK.player || !MAK.player.addModelListener) { setTimeout(function () { MAK.playerInit();}, 100); } else { MAK.addListeners(); //MAK.startCheck(); } }; // Link setup function.. MAK.linkSetup = function () { jQuery('a[href~=#vseek]').click(function(e) { e.preventDefault(); var match, seconds; match = this.getAttribute("href", 2).match(/#vseek(\d+)$/); if (match) { seconds = Number(match[1]); if (seconds) { MAK.seek(seconds); } } }); }; jQuery(function () { // Action.. //MAK.debugMode = true; MAK.playerInit(); // Setup links. MAK.linkSetup(); }); //-->

Source: http://www.whitehouse.gov/blog/2011/01/28/your-interview-president

Realty Economy Interest Rates Celebrity Foreclosures

No comments:

Post a Comment