Spartan Trifecta World Championships 2019 Weekend Recap

Ever wonder what it would be like to race pretty much nonstop for an entire weekend? OCR athletes descended upon Sparta, Greece to find out.

M&F’s chief content officer, Zack Zeigler, went head on with Spartan Trifecta World Championships weekend in the Greek Isles, and this is what happened. The weekend included the Spartan Super (12-14 miles) and Sprint (5 miles) in one day, then he tackled the Beast (a 14-16 mile race with obstacles).

function videoLoadCallback () {
var playerInstance = jwplayer(“botr_W2smCD8M_3CzOzpvw_div”);

setTimeout(function(){
playerInstance.setup({
playlist: “//content.jwplatform.com/feeds/W2smCD8M.json”,
image: “//content.jwplatform.com/thumbs/W2smCD8M-720.jpg”,
ph: 2,
advertising: {
“admessage”: “This video will resume in xx seconds”,
“client”: “googima”,
“cuetext”: “Advertisement”,
“skipmessage”: “Skip ad in xx seconds”,
“vpaidmode”: “insecure”
},
plugins: {
“https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js”: {
settings: {
player_id: “botr_W2smCD8M_3CzOzpvw_div”,
client_token: ‘ER0ZY06XV3YJHK0’,
platform_id: “W2smCD8M”,
player_version: ‘jwplayer8’,
ssl: true,
end_up_next: true,
disable_mobile_upnext: false,
campaign_tracking: true
},
global: “iris”,
jwCMS: true,
iris_buttons: {
‘thumbs_up’: false,
‘thumbs_down’: false,
‘skip_forward’: false,
‘skip_back’: false,
‘skip_on_thumbs_down’: false
}
}
}
}).once(“play”, function(){
var playerInstance = jwplayer(“botr_W2smCD8M_3CzOzpvw_div”);
loadIrisPlugin(playerInstance, playerInstance.getConfig().plugins[“https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js”])
}).on(‘adsManager’, function (e) {
let chanIdVal = ”;
let jwpDef = jwplayer.defaults || {};

if (jwpDef.advertising) {
if (jwpDef.advertising.schedule) {
for (let j in jwpDef.advertising.schedule) {
if (jwpDef.advertising.schedule[j].tag) {
let parts = jwpDef.advertising.schedule[j].tag.split(‘iu=’);
if (2 == parts.length) {
chanIdVal = parts[1];
chanIdVal = chanIdVal.split(‘&’);
chanIdVal = chanIdVal[0];
break;
}
}
}
}
}

const {adsManager, videoElement} = e;
const iasConfig = {
anId: ‘928572’,
campId: `${jwplayer().getWidth()}x${jwplayer().getHeight()}`, // This is dynamic based on player dimensions, but can be hard coded
chanId: chanIdVal,
placementId: ‘Open Auction’,
pubOrder: ‘Video’,
pubId: ‘Direct’
};
if (googleImaVansAdapter) {
googleImaVansAdapter.init(window.google, adsManager, videoElement, iasConfig);
}
}).on(‘beforePlay’, function (e) {
var videoItem = this.getPlaylistItem();
if (typeof window.jwPlayedVideos[videoItem.mediaid] === ‘undefined’) {
window.jwPlayedVideos[videoItem.mediaid] = true;
try {
if (jwDefaults.advertising && jwDefaults.advertising.schedule[0].tag) {
window.jwVastTag = jwDefaults.advertising.schedule[0].tag;
}
} catch ( e ) {}

apstag.fetchBids({
slots: [{
slotID: ‘56226737’,
mediaType: ‘video’
}] }, function (bids) {
if (bids.length > 0) { //If we have received any bids back
try {
jwplayer(“botr_W2smCD8M_3CzOzpvw_div”).playAd(window.jwVastTag + “&scp=” + bids[0].encodedQsParams);
} catch (e) {
console.log(e);
}
} else {
jwplayer(“botr_W2smCD8M_3CzOzpvw_div”).playAd(window.jwVastTag);
}
});
}
});
}, 1000);
}
var script = document.createElement(“script”);
script.type = “text/javascript”;
script.onload = videoLoadCallback;
script.async = true;

script.src = “//content.jwplatform.com/libraries/3CzOzpvw.js”;
document.getElementsByTagName(“head”)[0].appendChild(script);

JW Player ID: 
3CzOzpvw

Leave a Reply

Your email address will not be published. Required fields are marked *