Monday, February 18, 2013

Why Texas Gov. Rick Perry Was in Calif.

Copy

Close

Link to this video

Copy

Close

Embed this video

Next video starts in 10 seconds

'); nbcVideoPageUtils.player442('videoStill'+nbcVideoPageUtils.videoStillSeq, videoIDString, width, height, thisTitle, playertype); nbcVideoPageUtils.videoStillSeq+=1; } } else { jQuery('#featuredPlayerContainer').html(''); nbcVideoPageUtils.player442('featuredPlayer'+nbcVideoPageUtils.videoStillSeq,videoIDForThePlatform,625,352); nbcVideoPageUtils.videoStillSeq+=1; s.pageName = nbcVideoPageUtils.currentClipTitle; //s.tl(); } } }); } if (navigator.userAgent.match(/like Mac OS X/i)) { jQuery(document).ready(function() { player = new Player("featuredPlayer"); player.fp.bgcolor = "0x131313"; player.fp.wmode = "opaque"; player.logLevel = "warn"; player.allowFullScreen = "true"; // player.pluginOmniture = "type=tracking|URL=http://"+nbc.domain+"/assets/pdk449/pdk/js/plugins/omnitureMedia.js|account="+mmModule.omni+"|visitorNamespace=nbcuniversal|dc=122|host=oimg.nbcuni.com|secureHost=osimg.nbcuni.com|trackVars=pageName,channel,prop2,prop4,prop3,prop6,eVar36,prop37,eVar39,eVar40,prop48,eVar48,prop49|pageName="+nbcVideoPageUtils.currentClipTitle+"|channel="+nbc.omniture.pageType+"|prop2=VideoPlayer|prop3=Video|prop4="+nbc.omniture.pageType+"|prop6="+document.location.href+"|prop37=TK|eVar39=VideoPlayer|eVar40="+nbcVideoPageUtils.currentClipTitle+"|prop48=html5player|eVar48=html5player|prop49="+nbcVideoPageUtils.currentClipTitle+"|frequency=25%25"; // player.pluginComScore = "type=tracking|URL=http://"+nbc.domain+"/assets/pdk449/pdk/js/plugins/comScore.js||priority=2|trackEachChapter=true|c1=1|c2=13846865|c4="+nbc.brand+"|c6="+escape(nbc.brand)+"|c7="+document.location.href+"|c8="+escape(document.title); 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 = "/includes/nbc_metaLayout_glass.xml"; // player.releaseUrl = "http://link.theplatform.com/s/Yh1nAC/clAU8uFm7yvfj2f8obA6MT06FQXbWr2e?mbr=true&manifest=m3u&assetTypes=LegacyRelease"; // player.releaseUrl = "http://link.theplatform.com/s/Yh1nAC/"+nbcVideoPageUtils.videoReleaseId+"?mbr=true&manifest=m3u&assetTypes=LegacyRelease"; player.autoPlay = false; player.useDefaultPlayOverlay = true; player.bind("featuredPlayer"); //console.log("iOS player configuration complete!"); }); } nbcVideoPageUtils.videoReplay = function(targetScope) { nbcVideoPageUtils.countdownValue = 9; 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); } // START SOCIALIZE SHARE BAR ON ENDCARD function socializeEndcardShare(choseVideoUrl,choseOldSchoolUrl,choseCmsId,choseVideoTitle) { var uaEndcard = new gigya.socialize.UserAction(); 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(); } var activityContext = new Object(); activityContext["ACTION_CONTEXT"] = "video_hub_endcard"; activityContext["ACTION_CONTENT_ID"] = choseCmsId; activityContext["ACTION_CONTENT_TITLE"] = encodeURI(choseVideoTitle); activityContext["ACTION_CONTENT_LINK"] = encodeURI(choseOldSchoolUrl); activityContext["ACTION_CONTENT_DESCRIPTION"] = encodeURI(videoSummary); activityContext["ACTION_ACTIVITY_FEED_ID"] = "www.nbcbayarea.com_2"; activityContext["USER_ACTION"] = uaEndcard; uaEndcard.setLinkBack(choseOldSchoolUrl); uaEndcard.setTitle(choseVideoTitle); // Define Share Bar plugin's Parameters var endcardShareParams ={ userAction:uaEndcard, shareButtons:[{provider:"facebook-like",tooltip:"Recommend this on Facebook",action:"recommend",width:"160",font:"arial"},{provider:"twitter-tweet",via:nbc.market,defaultText:window.document.title,countURL:encodeURI(choseOldSchoolUrl)},{provider:"google-plusone",size:"medium"}], containerID:'socialEndcardButtons' // location of the Share Bar plugin } // Load Share Bar plugin showShareBar(endcardShareParams,activityContext); } // END SOCIALIZE SHARE BAR ON ENDCARD nbcVideoPageUtils.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 = 9; timerStep = 10000; startTimer = setTimeout("nbcVideoPageUtils.triggerNextClip()",10000); 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 = 10000; startTimer = setTimeout("nbcVideoPageUtils.triggerNextClip()",10000); } else { jQuery('div.nextUp').hide(); jQuery('div.countdownContainer').hide(); } jQuery("#endcard").fadeIn("fast"); socializeEndcardShare(); forceEventHandlers(); /* if(timerPaused == false){ timerEventsOn(); }*/ embeddedPlayerHTML = '

View more videos at: http://nbcbayarea.com.

'; jQuery('.shareBoxes .linkBox fieldset').html(''); jQuery('.shareBoxes .embedBox fieldset').html(''); jQuery('#endcard div.countdownContainer span.countdown').html('10'); 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 = 9; nbcVideoPageUtils.endcardCountdown = function() { if(nbcVideoPageUtils.countdownValue > 0) { U.log(nbcVideoPageUtils.countdownValue); if(nbcVideoPageUtils.countdownValue > 9) { 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"); } } 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; } } //]]>

Source: http://feeds.nbcbayarea.com/click.phdo?i=03573631fbac85e2fb43fb7253013e76

ron white buckyballs buckyballs awake mario batali lone ranger aaron brooks

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.