VIDEO-NJ Activist Fought for N. Korea Release of Detained American | NBC New York

Copy

Close

Link to this video

Copy

Close

Embed this video

Next video starts in 5 seconds

'); nbcVideoPageUtils.player442('featuredPlayer'+nbcVideoPageUtils.videoStillSeq,videoIDForThePlatform,625,352); nbcVideoPageUtils.videoStillSeq+=1; } } else { console.log("**** LN 448 | METADATA GATHERED, THIS SHOULDN'T BE EXECUTING! ****"); jQuery('#featuredPlayerContainer').html(''); nbcVideoPageUtils.player442('featuredPlayer'+nbcVideoPageUtils.videoStillSeq,videoIDForThePlatform,625,352); nbcVideoPageUtils.videoStillSeq+=1; s.pageName = nbcVideoPageUtils.currentClipTitle; //s.tl(); } } });}// Displays Sochi Promo banner if video content is categorized as Winter-OlympicsdisplayOlympicsBanner = function(featureDataCategory){ if(featureDataCategory == "Olympics-Winter"){ if($("#olympicsBanner").length "); $("#featuredSummaryShare").addClass("sochiStyles"); } } else { if($("#olympicsBanner").length){ $("#olympicsBanner").remove(); $("#featuredSummaryShare").removeClass("sochiStyles"); } } } nbcVideoPageUtils.mobileStart = function() { console.log("**** MOBILE START ****"); nbcVideoPageUtils.hasMobileStarted = true; var now = jQuery.now(); // Parameter string for HTML5 Omniture Beacon var hlsAdditionalTrackingValues="|trackVars=eVar11,eVar12,eVar13,eVar14,eVar27,eVar36,eVar37,eVar38,eVar39,eVar40,eVar41,eVar42,eVar43,eVar45,eVar47,eVar48,eVar50,prop2,prop8,prop9,prop20,prop42,prop43,prop44,prop45,prop46,prop50,products,eVar9,eVar10|trackEvents=event20,event21,event22,event23,event24,event25,event26,event27,event28,event29,event30,event31,event81,event82,event70,event71,event72,event73,event74,event75,event76,event77,event78,event79,event80|prop2=|prop8=|prop9=|eVar9="+nbc.siteKey+"|eVar10="+nbc.callLetters+"|prop20="+nbcVideoPageUtils.RSID+"|eVar36=Video|eVar27=Flash|eVar37="+nbcVideoPageUtils.currentClipTitle+"|eVar39=Video Player|eVar41=|eVar42=|eVar45="+nbc.brand+"|eVar47=normal|prop50="+nbcVideoPageUtils.currentClipTitle+"|eVar48=fullplayer|eVar42=|a.media.name=eVar40|mediaCategoryVars=eVar36|mediaIdVars=eVar50|trackMilestones=25%25,50%25,75%25|pageName=" + nbcu.pageName; player = new Player("featuredPlayer"); nbcVideoPageUtils.currentPlayerRuntime = player._runtime; player.fp.bgcolor = "0x131313"; player.fp.wmode = "opaque"; player.logLevel = "warn"; player.allowFullScreen = "true"; // Cypress Omniture Plugin if(nbc.video.config.htmlOmniture == true) { player.pluginOmniture = "type=tracking|priority=1|URL=/includes/omnitureMedia.js|account="+ mmModule.omni +"|jsInstanceName=nbcu|visitorNamespace=nbcuniversal|dc=122|host=oimg.nbcuni.com|secureHost=osimg.nbcuni.com" + hlsAdditionalTrackingValues; } if(nbc.htmlPreroll == true) { try { player.pluginTremor = "type=adcomponent|URL=http://objects.tremormedia.com/embed/sjs/html5/plugins/theplatform/tpAcudeoPlugIn.js|policy="+nbc.tremorHTMLKey+"|contentData.videoDescriptionUrl="+nbcVideoPageUtils.videoSocialShare+"|contentData.AdUnit1stLevel="+nbc.gptParams.suitename+"|contentData.AdUnit2nd-5thLevel="+nbc.gptParams.gptZone+"|contentData.videoplatform=html5|contentData.feature="+nbc.gptParams.pageData.feature+"|contentData.contentid="+nbcVideoPageUtils.videoMediaId+"|contentData.cid="+nbcVideoPageUtils.videoMediaId+"|contentData.pagetype="+nbc.gptParams.pageData.pagetype+"|contentData.sponsor="+nbc.gptParams.pageData.sponsor+"|contentData.pt="+nbc.omniture.playerType+"|contentData.stage="+nbc.gptParams.pageData.stage+"|contentData.sensitive="+nbc.gptParams.pageData.sensitive+"|contentData.nopreroll="+nbcVideoPageUtils.runpreroll+"|contentData.adtest="+nbc.gptParams.pageData.adtest+"|contentData.TIMESTAMP="+now; console.warn("nbcVideoPageUtils.mobileStart | Tremor HTML5 plugin active."); } catch(e) { alert("nbcVideoPageUtils.mobileStart | Tremor HTML5 plugin failure"); } } player.pluginConviva="type=reporting|url=http://livepassdl.conviva.com/thePlatform/ConvivaThePlatformPlugin.js|customerId=c3.TP-NbcUniversal|priority=3|cdnName=AKAMAI|serviceUrl=http%3A%2F%2Flivepass.conviva.com"; player.playerURL = location.href; // DO NOT TOUCH player.backgroundColor = "0x131313"; player.controlBackgroundColor = "0x131313"; player.controlColor = "0xBEBEBE"; player.controlFrameColor = "0x545759"; player.controlHoverColor = "0xBEBEBE"; player.controlSelectedColor = "0x00CCFF"; player.frameColor = "0x545759"; player.pageBackgroundColor = "0x131313"; player.playProgressColor = "0x00CCFF"; player.scrubberColor = "0xBEBEBE"; player.scrubberFrameColor = "0x00CCFF"; player.scrubTrackColor = "0xBEBEBE"; player.textBackgroundColor = "0x383838"; player.textColor = "0xBEBEBE"; player.loadProgressColor = "0x5D9070"; player.layoutUrl = "/templates/nbc_mobileplayer_layout"; player.skinUrl = nbc.fullDomain + '/assets/pdk449/pdk/skins/glass/glass.json'; player.showControlsBeforeVideo=true; // player.releaseUrl = "http://link.theplatform.com/s/Yh1nAC/clAU8uFm7yvfj2f8obA6MT06FQXbWr2e?mbr=true&manifest=m3u&assetTypes=LegacyRelease"; player.releaseUrl = "http://link.theplatform.com/s/Yh1nAC/"+nbcVideoPageUtils.forcedCorrectPid+"?manifest=m3u&format=SMIL"; player.autoPlay = false; player.useDefaultPlayOverlay = true; nbcVideoPageUtils.omnitureInit(); player.bind("featuredPlayer"); U.log("VIDEO PAGE FEATURE | "+ player.releaseUrl); U.log("VIDEO PAGE FEATURE | iOS player configuration complete!"); } if(!nbcVideoPageUtils.platformOmnitureActivate) { //NBCUOmniture.initialize('nbcu'); } nbcVideoPageUtils.videoReplay = function(targetScope) { nbcVideoPageUtils.countdownValue = 4; try { U.log("Attempting to clear timer."); clearTimeout(startTimer); clearInterval(ecCountdown); } catch(e) { U.log(e); U.log("Timer not present, moving on..."); } if(targetScope == null) { targetScope == "*"; U.log("nbcVideoPageUtils.videoReplay: WARNING: Scope not defined, defaulting to wildcard.") } jQuery('#endcard').fadeOut(); if($('.shareLink').hasClass('active')){ $('.shareLink').removeClass('active'); $('.linkBox').fadeOut('fast'); $('.linkBox .zclip').remove(); } if($('.shareEmbed').hasClass('active')){ $('.shareEmbed').removeClass('active'); $('.embedBox').fadeOut('fast'); $('.embedBox .zclip').remove(); } tpController.clickPlayButton(targetScope); } nbcVideoPageUtils.resetPreroll = function() { var content = { id:nbcVideoPageUtils.videoReleaseId, title:nbcVideoPageUtils.currentClipTitle, site:nbc.siteKey, zone:nbc.zone, descriptionUrl:location.href, sect:nbc.section, sub:"", contentgroup:nbcVideoPageUtils.currentClipAdCampaign, pid:nbcVideoPageUtils.currentClipContentCode, hascompanion:"companion", companionexists:true, pt:'fullplayer', videoDescriptionUrl:nbcVideoPageUtils.videoSocialShare, catetory:'fullplayer' } try { if(console) { console.warn("Attempting to re-write Tremor plugin data..."); } AcudeoSetContentData(content); } catch(e) { if(console) { console.warn("nbcVideoPageUtils.resetPreroll | Call to AcudeoSetContentData(content) | " + e); } } } // START SOCIALIZE SHARE BAR ON ENDCARD function socializeEndcardShare(choseVideoUrl,choseOldSchoolUrl,choseCmsId,choseVideoTitle) { var videoSummary = $(".feature_summary_top").find(".summary").text() // If oldschool url is not loaded from bottom list of videos // Then assumed it's the right-rail list of videos if (choseOldSchoolUrl == null || choseOldSchoolUrl == ""){ choseOldSchoolUrl = $("#featuredSummaryShare").find("span.featureContentOldSchoolUrl").html(); } if(choseVideoTitle == null || choseVideoTitle == ""){ choseVideoTitle = $("#featuredSummaryShare").find("div.headline-full").html(); } // Define Share Bar plugin's Parameters var breadCrumbSection = $("#videoHeaderBreadcrumb a:nth-child(3)").text(); if(breadCrumbSection == "sounddiego"){ var twitterHandle = "SoundDiego"; } else if(nbc.market == "nbcmiami"){ var twitterHandle = "nbc6"; } else{ var twitterHandle = nbc.market; }; $("#endcard #socialTools .twitter").html(""); $("#endcard #socialTools .fbRecommend").html(""); $("#endcard #socialTools .gplus").html(""); jQuery.ajax({ url: 'http://platform.twitter.com/widgets.js', dataType: 'script', cache:true}); FB.XFBML.parse(); gapi.plusone.go(); };// END SOCIALIZE SHARE BAR ON ENDCARDnbcVideoPageUtils.goToNextClip = function(evt) { console.warn("nbcVideoPageUtils.goToNextClip: Is it an ad?"+evt.data.baseClip.isAd); if(evt.data.baseClip.isAd == false) { U.log("start timer "+startTimer); if( startTimer == 1 ) { if(jQuery('#feature_rr_list > li.next_playing').length > 0) { nextUpThumbnail = jQuery('#feature_rr_list > li.next_playing img').attr('src'); jQuery('div.nextUpThumbnail').css({'background-image':'url('+nextUpThumbnail+')'}); nextUpCopy = jQuery('#feature_rr_list > li.next_playing span.feature_rr_item_desc').html(); jQuery('div.nextUpInfo').html(nextUpCopy); jQuery("#endcard").fadeIn("fast"); socializeEndcardShare(); startTimeMS = (new Date()).getTime(); nbcVideoPageUtils.countdownValue = 4; timerStep = 5000; startTimer = setTimeout("nbcVideoPageUtils.triggerNextClip()",5000); ecCountdown = setInterval("nbcVideoPageUtils.endcardCountdown()",1000); } else { jQuery('div.nextUp').hide(); jQuery('div.countdownContainer').hide(); jQuery("#endcard").fadeIn("fast"); socializeEndcardShare(); } } else { if(jQuery('#feature_rr_list > li.next_playing').length > 0) { nextUpThumbnail = jQuery('#feature_rr_list > li.next_playing img').attr('src'); jQuery('div.nextUpThumbnail').css({'background-image':'url('+nextUpThumbnail+')'}); nextUpCopy = jQuery('#feature_rr_list > li.next_playing span.feature_rr_item_desc').html(); jQuery('div.nextUpInfo').html(nextUpCopy); startTimeMS = (new Date()).getTime(); timerStep = 5000; startTimer = setTimeout("nbcVideoPageUtils.triggerNextClip()",5000); } else { jQuery('div.nextUp').hide(); jQuery('div.countdownContainer').hide(); } jQuery("#endcard").fadeIn("fast"); socializeEndcardShare(); forceEventHandlers(); /* if(timerPaused == false){ timerEventsOn(); }*/ embeddedPlayerHTML = ''+'ipt>'; jQuery('.shareBoxes .linkBox fieldset').html(''+nbcVideoPageUtils.videoSocialShare+''); jQuery('.shareBoxes .embedBox fieldset').html(''+embeddedPlayerHTML+''); jQuery('#endcard div.countdownContainer span.countdown').html('05'); if(jQuery('#feature_rr_list > li.next_playing').length > 0) { ecCountdown = setInterval("nbcVideoPageUtils.endcardCountdown()",1000); } // dont put parsing of Social Widgets - WE have all together in one function } } } nbcVideoPageUtils.triggerNextClip = function() { try { U.log("Attempting to clear timer."); clearTimeout(startTimer); clearInterval(ecCountdown); } catch(e) { U.log(e); U.log("Timer not present, moving on..."); } U.log("Jump to next clip here."); try { triggerNextVideoTarget = jQuery('li.next_playing > a').attr('id'); jQuery('#'+triggerNextVideoTarget).trigger('click','autoplay'); jQuery('#'+triggerNextVideoTarget).trigger('click','autoplay'); jQuery("#endcard").fadeOut("slow"); //timerEventsOff(); if($('.shareLink').hasClass('active')){ $('.shareLink').removeClass('active'); $('.linkBox').fadeOut('fast'); $('.linkBox .zclip').remove(); } if($('.shareEmbed').hasClass('active')){ $('.shareEmbed').removeClass('active'); $('.embedBox').fadeOut('fast'); $('.embedBox .zclip').remove(); } } catch(e) { alert(e); } } nbcVideoPageUtils.countdownValue = 4; nbcVideoPageUtils.endcardCountdown = function() { if(nbcVideoPageUtils.countdownValue > 0) { U.log(nbcVideoPageUtils.countdownValue); if(nbcVideoPageUtils.countdownValue > 4) { jQuery('#endcard div.countdownContainer span.countdown').text(nbcVideoPageUtils.countdownValue); } else { jQuery('#endcard div.countdownContainer span.countdown').text('0'+nbcVideoPageUtils.countdownValue); } nbcVideoPageUtils.countdownValue-=1; } else { clearInterval(ecCountdown); U.log("Clear"); } } nbcVideoPageUtils.omnitureInit = function() { console.log("**** DELIVERY BUNDLE FROM thePLATFORM ****"); console.log("**** ADDING thePLATFORM OMNITURE BEACON | 10/10/2014 @1330H | GLOBAL RE-ACTIVATION ****"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar8","D=c8","division"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar9","D=c9","business unit"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar10",nbc.callLetters,"station"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar11",NBCUPDKOmniture.date.getTime,"minute"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar12",NBCUPDKOmniture.date.getHour,"hour"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar13",NBCUPDKOmniture.date.getDayOfWeek,"day"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar14",NBCUPDKOmniture.date.getDate,"date"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar27",nbcVideoPageUtils.currentPlayerRuntime,"runtime"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar36","noprogram","program"); // check on this one NBCUPDKOmniture.trackingEventFactory.setDefault("eVar37","nosubtitle","subtitle"); // check on this one NBCUPDKOmniture.trackingEventFactory.setDefault("eVar38","normal","screen"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar39","Video Player","contentGroup"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar40",nbcVideoPageUtils.currentClipTitle,"title"); // REMOVE NBCUPDKOmniture.trackingEventFactory.setDefault("eVar42","noguid","guid"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar43", document.URL,"href"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar45",nbc.callLetters,"provider"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar47",nbcVideoPageUtils.isLongForm,"longform"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar48","fullplayer","nbc.omniture.playerType"); NBCUPDKOmniture.trackingEventFactory.setDefault("eVar50",nbcVideoPageUtils.videoMediaId,"clipid"); // props NBCUPDKOmniture.trackingEventFactory.setDefault("prop8","nbc","division"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop9",nbc.siteKey,"business unit"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop10",nbc.callLetters,"station"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop20","nbcots"+nbc.market,"rsid"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop42", "noguid","guid"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop43", "noclipid","clipid"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop44", "normal","screen"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop46",nbcVideoPageUtils.isLongForm,"longform"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop45", 0,"bitrate"); NBCUPDKOmniture.trackingEventFactory.setDefault("prop50",nbcVideoPageUtils.currentClipTitle,"title"); // overrides NBCUPDKOmniture.trackingEventFactory.setOverride("eVar10",nbc.callLetters,"provider"); //NBCUPDKOmniture.trackingEventFactory.setOverride("prop48", nbc.omniture.playerType,"nbc.omniture.playerType"); // attach the pdk controller PDKTrackingEvents.bus.initialize($pdk.controller); console.log("**** nbcVideoPageUtils.omnitureInit | SUCCESS! ****"); } jQuery(document).ready(function() { if (navigator.userAgent.match(/like Mac OS X/i)) { // DO NOTHING } else { tpController.addEventListener("OnMediaEnd","nbcVideoPageUtils.goToNextClip"); } $('#endcard').css({'visibility':'visible','display':'none'}); $('.linkBox').css({'visibility':'visible','display':'none'}); $('.embedBox').css({'visibility':'visible','display':'none'}); }); //Timer pause functions for embed and link popups pauseTimer = function(){ clearTimeout(startTimer); clearInterval(ecCountdown); timerCount=0; remainingTime = timerStep - ((new Date()).getTime() - startTimeMS); timerStep = remainingTime; timerPaused = true; }; resumeTimer = function(){ if (!timerCount){ timerCount=1; timerPaused = false; startTimeMS = (new Date()).getTime(); startTimer = setTimeout("nbcVideoPageUtils.triggerNextClip()",remainingTime); ecCountdown = setInterval("nbcVideoPageUtils.endcardCountdown()",1000); } } //Pause and resume timer on window blur and focus (ie Facebook/Twitter login) var isIE = (navigator.appName == "Microsoft Internet Explorer"); function timerEventsOn(){ if (isIE){ document.onfocusout = function(){pauseTimer();} document.onfocusin = function(){resumeTimer();} } else{ window.onblur = function(){pauseTimer();} window.onfocus = function(){resumeTimer();} } } function timerEventsOff(){ if (isIE){ document.onfocusout = null; document.onfocusin = null; } else{ window.onblur = null; window.onfocus = null; } } //]]>
http://www.nbcnewyork.com/news/local/NJ-Activist-Fought-for-N_-Korea-Release-of-Detained-American_New-York-282036811.html#