White House

What You Missed: Open for Questions with Secretary Locke

Last week, Secretary of Commerce Gary Locke and Fast Company  hosted a special live chat to answer your questions about this Administration's role in promoting innovation-based, high-growth entrepreneurship.

You can check out the full video of the chat or use the links below to jump directly to the questions you're interested in.

Questions are paraphrased.

 

/**
* This script allows for inter- and intra- page arbitrary video
* time index linking and is pretty namespace safe,
* keeping everything that needs to be “global” in MAK.
*/

var MAK = MAK || {};

// Logging and debugging functions..
MAK.log = function (message) {
if (MAK.debugMode && window.console) {
console.log(message);
}
};

// Listening functions… which may do other things.. >.<
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();
});

Fonte: White House

Como citar e referenciar este artigo:
NOTÍCIAS,. What You Missed: Open for Questions with Secretary Locke. Florianópolis: Portal Jurídico Investidura, 2010. Disponível em: https://investidura.com.br/noticias-internacionais/white-house/what-you-missed-open-for-questions-with-secretary-locke/ Acesso em: 11 ago. 2026
Sair da versão mobile