Travis Robert Renovations was recently featured onĀ ABC 7 in New York: ‘The Rachael Ray Show,’ episode titled “See the Ruberto Family’s Brand New Kitchen!”In this episode, Travis Barkstedt was featured as a main contributor in upgrading the Ruberto family’s kitchen in a stunning transformation.
var player,modVP,modExp, social, menu, currentVideoId; var cntSegments=0; var currentTitle = currentVideo = ""; var cuePointsModule;
function myPlayerLoaded(pPlayer){
player = bcPlayer.getPlayer(pPlayer);
if (player) { // we're in Flash mode so use Flash Payer API
modVP = player.getModule(APIModules.VIDEO_PLAYER); social = player.getModule(APIModules.SOCIAL); modExp = player.getModule(APIModules.EXPERIENCE); menu = player.getModule(APIModules.MENU);
cuePointsModule = player.getModule(APIModules.CUE_POINTS); cuePointsModule.addEventListener( BCCuePointEvent.CUE, onCueEventFired);
} else { // we're in HTML5 mode, use Smart Player API
player = brightcove.api.getExperience(pPlayer); modVP = player.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER); modExp = player.getModule(brightcove.api.modules.APIModules.EXPERIENCE);
cuePointsModule = player.getModule(brightcove.api.modules.APIModules.CUE_POINTS); cuePointsModule.addEventListener( brightcove.api.events.CuePointEvent.CUE, onCueEventFired);
}
modExp.addEventListener("templateReady", onTemplateReady);
}
function onTemplateReady(evt) {
if (modExp.experience.type == "flash") {
modVP.addEventListener("mediaBegin", onMediaEventFired);
} else {
modVP.addEventListener(brightcove.api.events.MediaEvent.BEGIN, onMediaEventFired);
modVP.getCurrentVideo(function (videoDTO) { // HTML5 does not currently support social.setLink functionality. // If it becomes available, use videoDTO.referenceId as parameter // to changeLinkBaseUrl }); }
}
function onMediaEventFired(evt) { var reg=/[^0-9]/g; var relVidId = evt.media.referenceId; var relVideoBricId = relVidId.replace(reg,"");
currentVideo = relVideoBricId;
var reg=/[^a-zA-Z0-9 '-]/g; var title = evt.media.displayName; var myStrippedTitle = title.replace(reg,"");
currentTitle = myStrippedTitle;
var comParam = eval("({c1:1, c2:\"8628780\", c3:\"" + relVideoBricId + "\", c4:\"rachaelrayshow\", c5:\"02\", c6:\"" + myStrippedTitle + "\", c7:\"http://www.rachaelrayshow.com/lifestyle/20456_see_the_ruberto_family_brand_new_kitchen/index.html\"})")
COMSCORE.beacon(comParam); }
function onCueEventFired(evt){
if (evt.cuePoint.name == "Mid-roll") {
cntSegments++;
relVideoBricId = currentVideo; myStrippedTitle = currentTitle;
var videoSegment = cntSegments.toString() + "-4"; var comParam = eval("({c1:1, c2:\"8628780\", c3:\"" + relVideoBricId + "\", c4:\"rachaelrayshow\", c5:\"03\", c6:\"" + myStrippedTitle + "\", c10:\"" + videoSegment + "\"})"); COMSCORE.beacon(comParam); }
}
Original article link (via rachaelrayshow.com):
http://www.rachaelrayshow.com/lifestyle/
20456_see_the_ruberto_family_brand_new_kitchen/