function getTimeFromHash() {
var pos = window.location.hash.indexOf(“#time:”);
if (pos < 0) {
return false;
}
return window.location.hash.substr(pos + 6);
}
OO.ready(function () {
var params = JSON.parse('{"autoplay":false,"showLoginAtStart":true,"wmode":"transparent","playerContainerId":"ooyala-player-541e6edd59e37","embed_code":"wzMWdscDqzXuzEHOSvAfr8hB563AZieQ"}');
var playerContainerId = params.playerContainerId;
var embedCode = params.embed_code;
// Several params are from JS functions or results of JS functions
params.initialTime = getTimeFromHash();
params.analytics = { tags: getAnalyticsTags() };
params.onCreate = Drupal.ooyala.onCreate;
// If not locked or not epg, just create video player w/o resourceId
if (!(params.is_locked || params.is_epg)) {
Drupal.settings.videoPlayer = OO.Player.create(playerContainerId, embedCode, params);
return;
}
// If not epg, we can create w/o waiting for authentication
if (!params.is_epg) {
Drupal.settings.vodParams = params;
}
else {
Drupal.settings.epgParams = params;
}
// If epg, we have to wait for authentication
// OO.Pass.onSetAuthenticationStatus(function (event, status, error) {
// params.staticResourceId = OoyalaPass.getResourceId(params);
// var videoPlayer = OO.Player.create(playerContainerId, embedCode, params);
// });
});
Wide-receiver-turned-defensive-end Obum Gwacham turned heads a couple of weeks ago not only because of the rare position change, but also because he registered two sacks in Oregon State’s 38-30 win at Hawai’i.
[Related: Do you get Pac-12 Networks? Click here to find out]
If you thought that was a flash in the pan, think again. Gwacham struck again with a fourth-quarter takedown of San Diego State signal-caller Quinn Kaehler, bursting through the Aztec offensive line for his third sack of the season.
I’d say the move to defense has worked out just fine for No. 86.