Friday, September 30, 2011

What You Missed: Open for Questions on President Obama?s trip to the U.N. General Assembly with Ben Rhodes

The White House hosted a live video chat to answer your questions on the President's trip to the United Nations General Assembly. The conversation ranged from topics such as the United States' involvement in Libya to international trade agreements and the US economy. Ben Rhodes, Deputy National Security Advisor for Strategic Communications and Speechwriting sat down to answer your questions submitted through Facebook and Twitter

Watch the whole video of the Open for Questions event, or use the links below to jump directly to the questions that you're interested in. Follow @WhiteHouse on Twitter for more opportunities to engage with us.

Open For Questions with Ben Rhodes

Open for Questions with Ben Rhodes, Deputy National Security Advisor for Strategic Communications and Speechwriting

.< 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/09/25/what-you-missed-open-questions-president-obama-s-trip-un-general-assembly-ben-rhodes

Mortgage Home Loan Short Sale Waterfront Homes

No comments:

Post a Comment