All Around Beantown! See Photos From William and Kate’s Boston

0
24

[]

Welcome to Boston! Prince William and Princess Kate have touched down in the United States for the first time in nearly a decade.

“Catherine and I are delighted to be back in the United States and are extremely grateful to Governor [Charlie] Baker and The First Lady of Massachusetts for their warm welcome into Boston,” the Prince of Wales, 40, wrote via the couple’s official joint Twitter account on Wednesday, November 30.

The statement continued: “On this, our first overseas visit since the death of my grandmother, I would like to thank the people of Massachusetts and particularly of Boston for their many tributes paid to the late Queen. She remembered her 1976 bicentennial visit with great fondness.”

Kate, 40, and William’s trip, which coincides with the Earthshot Prize awards ceremony, was announced in July. “In 2022, we’re back and bringing Earthshot to the USA, where we’ll award the next five winners of the prize,” William said in a video shared via Twitter with Boston Red Sox player Xander Bogaerts, who added: “And we will be doing it right here in Boston.”

{ let bidders = [‘a9’, ‘ix’, ‘iris’]; // create a requestManager to keep track of bidder state to determine when to send ad server // request and what amazonSlots to request from the ad server var requestManager = { adserverRequestSent: false, }; //loop through bidder array and add the bidders to the request manager: bidders.forEach( function( bidder ) { requestManager[bidder] = false; } ); // return true if all bidders have returned function allBiddersBack() { var allBiddersBack = bidders // get the booleans from the object .map( function( bidder ) { return requestManager[bidder]; } ) // get rid of false values – indicates that the bidder has responded .filter( Boolean ) // if length is equal to bidders, all bidders are back .length === bidders.length; return allBiddersBack; } // handler for header bidder responses function headerBidderBack( bidder ) { // return early if request to adserver is already sent if ( requestManager.adserverRequestSent === true ) { return; } // flip bidder back flag if ( bidder === ‘a9’ ) { requestManager.a9 = true; console.log(‘second promise a9 ready’); } else if ( bidder === ‘ix’ ) { requestManager.ix = true; console.log(‘second promise ix ready’); } else if ( bidder === ‘iris’ ) { requestManager.iris = true; console.log(‘second promise iris ready’); } // if all bidders are back, send the request to the ad server if ( allBiddersBack() ) { resolve( url ); } } if ( typeof apstag == ‘object’ && apstag ) { apstag.fetchBids({ slots: [{ slotID: window.prerollTag[vHash], mediaType: ‘video’ }] }, function( bids ) { console.log( “AMI jwp amazon bid callback”, new Date().getTime(), bids ); window.jwpBids[vHash].amazon = true; if ( bids.length > 0 ) { //If we have received any bids back try { console.log(“AMI jwp amazon bid request ad”, bids[0].encodedQsParams); url = url + ‘&scp=’ + bids[0].encodedQsParams; } catch ( e ) { console.log(e); } } else { console.log(“AMI jwp amazon no bids”); } headerBidderBack(‘a9’); }); } else { headerBidderBack(‘a9’); } headertag.cmd.push( function() { headertag.retrieveVideoDemand( [{‘htSlotName’: ‘preroll’}], function( demand ) { console.log( “AMI jwp IX callback”, demand ); if ( ‘undefined’ !== typeof demand.preroll && demand.preroll.length ){ window.jwpBids[vHash].ixBids = demand.preroll[0].targeting.price; console.log( ‘AMI jwp IX Bids’, new Date().getTime(), demand.preroll[0].targeting ); var vastURL = new URL( url ); var vastParams = new URLSearchParams( vastURL.search ); if ( vastParams.has( ‘cust_params’ ) ) { var custParams = new URLSearchParams( vastParams.get( ‘cust_params’ ) ); } else { var custParams = new URLSearchParams(); } var keys = Object.keys( demand.preroll[0].targeting.price ); for ( var key of keys ) { custParams.set( key, demand.preroll[0].targeting.price[key][0]); } vastParams.set( ‘cust_params’, custParams.toString() ); vastURL.search = vastParams.toString(); url = vastURL.toString(); } headerBidderBack(‘ix’); } ); } ); // Get main item context data window.irisContext.getContext(jwplayer(el).getPlaylistItem().mediaid).then(function(data) { // Encode the context data console.log( ‘AMI jwp IrisTV Bids’, new Date().getTime(), data.context ); // Replace the server url with the context data (this is for simple ad requests), // If you have the serverUrl dynamically configured, then you will need to append the context data // under cust_params, so this is just for testing purpose if ( data.context && Object.keys( data.context ).length ) { var vastURL = new URL( url ); var vastParams = new URLSearchParams( vastURL.search ); if ( vastParams.has( ‘cust_params’ ) ) { var custParams = new URLSearchParams( vastParams.get( ‘cust_params’ ) ); } else { var custParams = new URLSearchParams(); } custParams.set( ‘iris_context’, data.context.join(‘,’)); vastParams.set( ‘cust_params’, decodeURIComponent( custParams.toString() ) ); vastURL.search = vastParams.toString(); url = vastURL.toString(); } headerBidderBack(‘iris’); }); setTimeout(function(){ resolve( url ); }, 10000); }); } var player_jwplayer_d0oLXzXV_zhNYySv2_div = jwplayer(el).setup(videoParams).on(“ready”, function(){ var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var playerInstance = jwplayer(el); ns_.StreamingAnalytics.JWPlayer( playerInstance, { publisherId: “6036076”, labelmapping: “ns_st_pu=”AMI”, c3=”Us Weekly”, ns_st_ge=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_ia=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_ce=”” + decodeURIComponent( “1” ) + “”, ns_st_ddt=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_tdt=”” + decodeURIComponent( “%2Anull” ) + “””, }); }).on(‘adsManager’, (e) => { var vHash = ‘ami’ + decodeURIComponent( ‘d0oLXzXV’ ); 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: window.prerollTag[vHash], placementId: ‘Open Auction’, pubOrder: ‘Video’, pubId: ‘Direct’ }; if (googleImaVansAdapter) { googleImaVansAdapter.init(window.google, adsManager, videoElement, iasConfig); } }).on( ‘time’, function( e ) { var id = this.id; var pct = Math.round( e.position ); if ( ! window.amiPlayersData ) { window.amiPlayersData = {}; } if ( ! window.amiPlayersData[id] ) { window.amiPlayersData[id] = { m3: false, m10: false }; } if ( window.amiPlayersData[id][‘m3’] === false && pct >= 3 ) { window.amiPlayersData[id][‘m3’] = true; console.log( ‘3sec played: ‘, id ); window.dataLayer = window.dataLayer || []; dataLayer.push( {event: ‘JWPlayEvent’, jwTime: ‘3s played’} ); } if ( window.amiPlayersData[id][‘m10’] === false && pct >= 10 ) { window.amiPlayersData[id][‘m10’] = true; console.log( ’10sec played: ‘, id ); window.dataLayer = window.dataLayer || []; dataLayer.push( {event: ‘JWPlayEvent’, jwTime: ’10s played’} ); } }).on( ‘complete’, function( e ) { if ( window.amiPlayersData && window.amiPlayersData[ this.id ] ) { window.amiPlayersData[ this.id ][‘m3’] = false; window.amiPlayersData[ this.id ][‘m10’] = false; console.log( ‘clear played: ‘, this.id ); } }).once(“play”, function(){ var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var playerInstance = jwplayer(el); loadIrisPlugin(playerInstance, playerInstance.getConfig().plugins[“https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js”]) }).on(‘play’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); // skip if the video was paused and trying to resume if (jwplayer(el).getState() !== ‘idle’ && jwplayer(el).getState() !== ‘complete’) { return; } window.permutive.track(“VideoPlay”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language:”English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video play”); }).on(‘complete’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); // skip if the video was paused and trying to resume if (jwplayer(el).getState() !== ‘idle’ && jwplayer(el).getState() !== ‘complete’) { return; } window.permutive.track(“VideoComplete”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video event:”, e); window.lock_25 = false; window.lock_50 = false; window.lock_75 = false; window.lock_100 = false; }).on(‘time’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); var progress = (e.currentTime/e.duration).toFixed(2); if ( (0.25 === progress && false === window.lock_25) || (0.5 === progress && false === window.lock_50) || (0.75 === progress && false === window.lock_75) || (100 === progress && false === window.lock_100) ) { window.permutive.track(“VideoProgress”, { play_id: el, //this will stay constant for all of the events emitted during the same video play progress: Number(progress), video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); if ( 0.25 === progress ) { window.lock_25 = true; } if ( 0.5 === progress ) { window.lock_50 = true; } if ( 0.75 === progress ) { window.lock_75 = true; } if ( 1 === progress ) { window.lock_100 = true; } console.log(“Permutive video play progress ” + progress); } }).on(‘mute’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoEvent”, { play_id: el, //this will stay constant for all of the events emitted during the same video play event: (e.mute) ? “sound off” : “sound on”, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() } }); console.log(“Permutive video event:”, e); }).on(‘fullscreen’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoEvent”, { play_id: el, //this will stay constant for all of the events emitted during the same video play event: (e.fullscreen) ? “fullscreen on” : “fullscreen off”, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() } }); console.log(“Permutive video event:”, e); }).on(‘ready’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); console.log(jwInfo); window.lock_25 = false; window.lock_50 = false; window.lock_75 = false; window.lock_100 = false; window.permutive.track(“VideoLoad”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video load event”); }).on(‘adPlay’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); window.adInfo = e; var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.adlock_25 = false; window.adlock_50 = false; window.adlock_75 = false; window.adlock_100 = false; window.permutive.track(“VideoAdPlay”, { play_id: el, //this will stay constant for all of the events emitted during the same video play ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video ad play”); }).on(‘adClick’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoAdClick”, { play_id: el, //this will stay constant for all of the events emitted during the same video play ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video ad click”); }).on(‘adTime’, (e) => { var el = decodeURIComponent( “jwplayer_d0oLXzXV_zhNYySv2_div” ); var vHash = “ami” + decodeURIComponent( “d0oLXzXV” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); var progress = (e.position/e.duration).toFixed(2); if ( (0.25 >= progress && false === window.adlock_25) || (0.5 >= progress && false === window.adlock_50) || (0.75 >= progress && false === window.adlock_75) || (0.95 >= progress && false === window.adlock_100) ) { window.permutive.track(“VideoAdProgress”, { play_id: el, //this will stay constant for all of the events emitted during the same video play progress: Number(progress), ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “d0oLXzXV” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); if ( 0.25 >= progress ) { window.adlock_25 = true; } if ( 0.5 >= progress ) { window.adlock_50 = true; } if ( 0.75 >= progress ) { window.adlock_75 = true; } if ( 0.95 >= progress ) { window.adlock_100 = true; } console.log(“Permutive video ad progress ” + progress); } }).setPlaylistItemCallback(function(item, index) { return waitForAmazon // Wait until Amazon is loaded. .then(() => performAsyncBidding( player_jwplayer_d0oLXzXV_zhNYySv2_div, item, index ), () => { console.log(“AMI JWP bidding FAILER”); }) // External bidding. .then(tag => { // Update the playlist item. console.log(“AMI jwp new headerbid”, tag); return Object.assign({}, item, { adschedule: [{ tag, offset: “pre” }] }); }).catch(function(e){ console.log(“AMI jwp bidding failed”, e); return item; }); // If bidding fails, use unmodified playlist item. });; clearInterval(checkJWReady); } }, 500); })(); ]]>

William launched Earthshot with David Attenborough in 2020 with the goal of inspiring practical and impactful solutions for problems caused by climate change. The organization’s name was inspired by President John F. Kennedy’s Moonshot, and the late politician’s John F. Kennedy Library Foundation is a host partner for the awards alongside Mayor Michelle Wu.

Ahead of their trip, a source exclusively told Us Weekly that the royal pair were “excited” to be stateside after “an emotional few months” following the death of Queen Elizabeth II in September.

“[They’re] hoping to boost their royal profile across the pond,” the insider added in October. “Kate and William are not taking this trip lightly and have been brainstorming with their team about the most effective ways to make a positive impact in the U.S. They’re taking a hands-on approach with speeches and engagements.”

The former military pilot and the duchess had an “absolute blast” when they visited America in 2014, per the source. William and Kate traveled to New York City for several diplomatic engagements — their last experience in the U.S. before touching down in Boston on Wednesday. At the time, the twosome met LeBron James when they watched the Cleveland Cavaliers play the Brooklyn Nets.

{ let bidders = [‘a9’, ‘ix’, ‘iris’]; // create a requestManager to keep track of bidder state to determine when to send ad server // request and what amazonSlots to request from the ad server var requestManager = { adserverRequestSent: false, }; //loop through bidder array and add the bidders to the request manager: bidders.forEach( function( bidder ) { requestManager[bidder] = false; } ); // return true if all bidders have returned function allBiddersBack() { var allBiddersBack = bidders // get the booleans from the object .map( function( bidder ) { return requestManager[bidder]; } ) // get rid of false values – indicates that the bidder has responded .filter( Boolean ) // if length is equal to bidders, all bidders are back .length === bidders.length; return allBiddersBack; } // handler for header bidder responses function headerBidderBack( bidder ) { // return early if request to adserver is already sent if ( requestManager.adserverRequestSent === true ) { return; } // flip bidder back flag if ( bidder === ‘a9’ ) { requestManager.a9 = true; console.log(‘second promise a9 ready’); } else if ( bidder === ‘ix’ ) { requestManager.ix = true; console.log(‘second promise ix ready’); } else if ( bidder === ‘iris’ ) { requestManager.iris = true; console.log(‘second promise iris ready’); } // if all bidders are back, send the request to the ad server if ( allBiddersBack() ) { resolve( url ); } } if ( typeof apstag == ‘object’ && apstag ) { apstag.fetchBids({ slots: [{ slotID: window.prerollTag[vHash], mediaType: ‘video’ }] }, function( bids ) { console.log( “AMI jwp amazon bid callback”, new Date().getTime(), bids ); window.jwpBids[vHash].amazon = true; if ( bids.length > 0 ) { //If we have received any bids back try { console.log(“AMI jwp amazon bid request ad”, bids[0].encodedQsParams); url = url + ‘&scp=’ + bids[0].encodedQsParams; } catch ( e ) { console.log(e); } } else { console.log(“AMI jwp amazon no bids”); } headerBidderBack(‘a9’); }); } else { headerBidderBack(‘a9’); } headertag.cmd.push( function() { headertag.retrieveVideoDemand( [{‘htSlotName’: ‘preroll’}], function( demand ) { console.log( “AMI jwp IX callback”, demand ); if ( ‘undefined’ !== typeof demand.preroll && demand.preroll.length ){ window.jwpBids[vHash].ixBids = demand.preroll[0].targeting.price; console.log( ‘AMI jwp IX Bids’, new Date().getTime(), demand.preroll[0].targeting ); var vastURL = new URL( url ); var vastParams = new URLSearchParams( vastURL.search ); if ( vastParams.has( ‘cust_params’ ) ) { var custParams = new URLSearchParams( vastParams.get( ‘cust_params’ ) ); } else { var custParams = new URLSearchParams(); } var keys = Object.keys( demand.preroll[0].targeting.price ); for ( var key of keys ) { custParams.set( key, demand.preroll[0].targeting.price[key][0]); } vastParams.set( ‘cust_params’, custParams.toString() ); vastURL.search = vastParams.toString(); url = vastURL.toString(); } headerBidderBack(‘ix’); } ); } ); // Get main item context data window.irisContext.getContext(jwplayer(el).getPlaylistItem().mediaid).then(function(data) { // Encode the context data console.log( ‘AMI jwp IrisTV Bids’, new Date().getTime(), data.context ); // Replace the server url with the context data (this is for simple ad requests), // If you have the serverUrl dynamically configured, then you will need to append the context data // under cust_params, so this is just for testing purpose if ( data.context && Object.keys( data.context ).length ) { var vastURL = new URL( url ); var vastParams = new URLSearchParams( vastURL.search ); if ( vastParams.has( ‘cust_params’ ) ) { var custParams = new URLSearchParams( vastParams.get( ‘cust_params’ ) ); } else { var custParams = new URLSearchParams(); } custParams.set( ‘iris_context’, data.context.join(‘,’)); vastParams.set( ‘cust_params’, decodeURIComponent( custParams.toString() ) ); vastURL.search = vastParams.toString(); url = vastURL.toString(); } headerBidderBack(‘iris’); }); setTimeout(function(){ resolve( url ); }, 10000); }); } var player_jwplayer_xKeagPK0_l3ahXupL_div = jwplayer(el).setup(videoParams).on(“ready”, function(){ var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var playerInstance = jwplayer(el); ns_.StreamingAnalytics.JWPlayer( playerInstance, { publisherId: “6036076”, labelmapping: “ns_st_pu=”AMI”, c3=”Us Weekly”, ns_st_ge=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_ia=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_ce=”” + decodeURIComponent( “1” ) + “”, ns_st_ddt=”” + decodeURIComponent( “%2Anull” ) + “”, ns_st_tdt=”” + decodeURIComponent( “%2Anull” ) + “””, }); }).on(‘adsManager’, (e) => { var vHash = ‘ami’ + decodeURIComponent( ‘xKeagPK0’ ); 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: window.prerollTag[vHash], placementId: ‘Open Auction’, pubOrder: ‘Video’, pubId: ‘Direct’ }; if (googleImaVansAdapter) { googleImaVansAdapter.init(window.google, adsManager, videoElement, iasConfig); } }).on( ‘time’, function( e ) { var id = this.id; var pct = Math.round( e.position ); if ( ! window.amiPlayersData ) { window.amiPlayersData = {}; } if ( ! window.amiPlayersData[id] ) { window.amiPlayersData[id] = { m3: false, m10: false }; } if ( window.amiPlayersData[id][‘m3’] === false && pct >= 3 ) { window.amiPlayersData[id][‘m3’] = true; console.log( ‘3sec played: ‘, id ); window.dataLayer = window.dataLayer || []; dataLayer.push( {event: ‘JWPlayEvent’, jwTime: ‘3s played’} ); } if ( window.amiPlayersData[id][‘m10’] === false && pct >= 10 ) { window.amiPlayersData[id][‘m10’] = true; console.log( ’10sec played: ‘, id ); window.dataLayer = window.dataLayer || []; dataLayer.push( {event: ‘JWPlayEvent’, jwTime: ’10s played’} ); } }).on( ‘complete’, function( e ) { if ( window.amiPlayersData && window.amiPlayersData[ this.id ] ) { window.amiPlayersData[ this.id ][‘m3’] = false; window.amiPlayersData[ this.id ][‘m10’] = false; console.log( ‘clear played: ‘, this.id ); } }).once(“play”, function(){ var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var playerInstance = jwplayer(el); loadIrisPlugin(playerInstance, playerInstance.getConfig().plugins[“https://ovp.iris.tv/plugins/jwplayer/v2/iris-jwplayer8.adaptive.min.js”]) }).on(‘play’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); // skip if the video was paused and trying to resume if (jwplayer(el).getState() !== ‘idle’ && jwplayer(el).getState() !== ‘complete’) { return; } window.permutive.track(“VideoPlay”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language:”English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video play”); }).on(‘complete’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); // skip if the video was paused and trying to resume if (jwplayer(el).getState() !== ‘idle’ && jwplayer(el).getState() !== ‘complete’) { return; } window.permutive.track(“VideoComplete”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video event:”, e); window.lock_25 = false; window.lock_50 = false; window.lock_75 = false; window.lock_100 = false; }).on(‘time’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); var progress = (e.currentTime/e.duration).toFixed(2); if ( (0.25 === progress && false === window.lock_25) || (0.5 === progress && false === window.lock_50) || (0.75 === progress && false === window.lock_75) || (100 === progress && false === window.lock_100) ) { window.permutive.track(“VideoProgress”, { play_id: el, //this will stay constant for all of the events emitted during the same video play progress: Number(progress), video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); if ( 0.25 === progress ) { window.lock_25 = true; } if ( 0.5 === progress ) { window.lock_50 = true; } if ( 0.75 === progress ) { window.lock_75 = true; } if ( 1 === progress ) { window.lock_100 = true; } console.log(“Permutive video play progress ” + progress); } }).on(‘mute’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoEvent”, { play_id: el, //this will stay constant for all of the events emitted during the same video play event: (e.mute) ? “sound off” : “sound on”, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() } }); console.log(“Permutive video event:”, e); }).on(‘fullscreen’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoEvent”, { play_id: el, //this will stay constant for all of the events emitted during the same video play event: (e.fullscreen) ? “fullscreen on” : “fullscreen off”, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() } }); console.log(“Permutive video event:”, e); }).on(‘ready’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); console.log(jwInfo); window.lock_25 = false; window.lock_50 = false; window.lock_75 = false; window.lock_100 = false; window.permutive.track(“VideoLoad”, { play_id: el, //this will stay constant for all of the events emitted during the same video play video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video load event”); }).on(‘adPlay’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); window.adInfo = e; var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.adlock_25 = false; window.adlock_50 = false; window.adlock_75 = false; window.adlock_100 = false; window.permutive.track(“VideoAdPlay”, { play_id: el, //this will stay constant for all of the events emitted during the same video play ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video ad play”); }).on(‘adClick’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); window.permutive.track(“VideoAdClick”, { play_id: el, //this will stay constant for all of the events emitted during the same video play ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); console.log(“Permutive video ad click”); }).on(‘adTime’, (e) => { var el = decodeURIComponent( “jwplayer_xKeagPK0_l3ahXupL_div” ); var vHash = “ami” + decodeURIComponent( “xKeagPK0” ); var jwInfo = jwplayer(el).getPlaylistItem(jwplayer(el).getPlaylistIndex()); var progress = (e.position/e.duration).toFixed(2); if ( (0.25 >= progress && false === window.adlock_25) || (0.5 >= progress && false === window.adlock_50) || (0.75 >= progress && false === window.adlock_75) || (0.95 >= progress && false === window.adlock_100) ) { window.permutive.track(“VideoAdProgress”, { play_id: el, //this will stay constant for all of the events emitted during the same video play progress: Number(progress), ad: { duration: Math.round(window.adInfo.duration), creative_name: window.adInfo.adtitle, ad_id: window.adInfo.adId, title: window.adInfo.adtitle, video_type: “instream” //outstream }, video: { duration: Math.round(jwInfo.duration), // in seconds name: jwInfo.title, video_id: decodeURIComponent( “xKeagPK0” ), description: jwInfo.description, published_at: new Date(jwInfo.pubdate).toISOString() }, enriched_data:{ tvchannel: decodeURIComponent( “Us%20Weekly” ), //tv channel name language: “English”, //language of the content type: “video”, keywords: jwInfo.tags.split(“,”), //keywords for the page } }); if ( 0.25 >= progress ) { window.adlock_25 = true; } if ( 0.5 >= progress ) { window.adlock_50 = true; } if ( 0.75 >= progress ) { window.adlock_75 = true; } if ( 0.95 >= progress ) { window.adlock_100 = true; } console.log(“Permutive video ad progress ” + progress); } }).setPlaylistItemCallback(function(item, index) { return waitForAmazon // Wait until Amazon is loaded. .then(() => performAsyncBidding( player_jwplayer_xKeagPK0_l3ahXupL_div, item, index ), () => { console.log(“AMI JWP bidding FAILER”); }) // External bidding. .then(tag => { // Update the playlist item. console.log(“AMI jwp new headerbid”, tag); return Object.assign({}, item, { adschedule: [{ tag, offset: “pre” }] }); }).catch(function(e){ console.log(“AMI jwp bidding failed”, e); return item; }); // If bidding fails, use unmodified playlist item. });; clearInterval(checkJWReady); } }, 500); })(); ]]>

While their Boston visit will be brief ahead of the Earthshot event on Friday, December 2, Kate is hoping to “enjoy the festivities in the build-up to Christmas” with a quick stopover in NYC. “[She’s] dying to go ice-skating at the Rockefeller [Center] and shopping for fun souvenirs for George, Charlotte and Louis,” the source told Us last month, referring to the couple’s three children.

During their time in Massachusetts, William and Kate will tour Harvard University and have set up a meeting with Caroline Kennedy, the daughter of JFK. Not only is it their first trip to the U.S. in eight years, but the visit also marks the duo’s first overseas engagement since being named Prince and Princess of Wales. (The titles were previously held by King Charles III and the late Princess Diana.)

“TRHs are both excited for their first international trip since taking on their news roles as Prince and Princess of Wales,” a spokesperson for Kensington Palace told ABC News in November. “Both appreciate the history associated to the titles but understandably want to look to the future and pave their own paths.”

Scroll down for photos of William and Kate in Boston:

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: Boston Globe/AP/Shutterstock

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Welcome to Boston! Prince William and Princess Kate have touched down in the United States for the first time in nearly a decade. “Catherine and I are delighted to be back in the United States and are extremely grateful to Governor [Charlie] Baker and The First Lady of Massachusetts for their warm welcome into Boston,” the Prince of Wales, 40, wrote via the couple’s official joint Twitter account on Wednesday, November 30. The statement continued: “On this, our first overseas visit since the death of my grandmother, I would like to thank the people of Massachusetts and particularly of Boston for their many tributes paid to the late Queen. She remembered her 1976 bicentennial visit with great fondness.” Kate, 40, and William’s trip, which coincides with the Earthshot Prize awards ceremony, was announced in July. “In 2022, we’re back and bringing Earthshot to the USA, where we’ll award the next five winners of the prize,” William said in a video shared via Twitter with Boston Red Sox player Xander Bogaerts, who added: “And we will be doing it right here in Boston.” [jwplayer d0oLXzXV-zhNYySv2] William launched Earthshot with David Attenborough in 2020 with the goal of inspiring practical and impactful solutions for problems caused by climate change. The organization’s name was inspired by President John F. Kennedy’s Moonshot, and the late politician’s John F. Kennedy Library Foundation is a host partner for the awards alongside Mayor Michelle Wu. Ahead of their trip, a source exclusively told Us Weekly that the royal pair were “excited” to be stateside after “an emotional few months” following the death of Queen Elizabeth II in September. “[They’re] hoping to boost their royal profile across the pond,” the insider added in October. “Kate and William are not taking this trip lightly and have been brainstorming with their team about the most effective ways to make a positive impact in the U.S. They’re taking a hands-on approach with speeches and engagements.” The former military pilot and the duchess had an “absolute blast” when they visited America in 2014, per the source. William and Kate traveled to New York City for several diplomatic engagements — their last experience in the U.S. before touching down in Boston on Wednesday. At the time, the twosome met LeBron James when they watched the Cleveland Cavaliers play the Brooklyn Nets. [jwplayer xKeagPK0-l3ahXupL] While their Boston visit will be brief ahead of the Earthshot event on Friday, December 2, Kate is hoping to “enjoy the festivities in the build-up to Christmas” with a quick stopover in NYC. “[She’s] dying to go ice-skating at the Rockefeller [Center] and shopping for fun souvenirs for George, Charlotte and Louis,” the source told Us last month, referring to the couple’s three children. During their time in Massachusetts, William and Kate will tour Harvard University and have set up a meeting with Caroline Kennedy, the daughter of JFK. Not only is it their first trip to the U.S. in eight years, but the visit also marks the duo’s first overseas engagement since being named Prince and Princess of Wales. (The titles were previously held by King Charles III and the late Princess Diana.) “TRHs are both excited for their first international trip since taking on their news roles as Prince and Princess of Wales,” a spokesperson for Kensington Palace told ABC News in November. “Both appreciate the history associated to the titles but understandably want to look to the future and pave their own paths.” Scroll down for photos of William and Kate in Boston:

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: Boston Globe/AP/Shutterstock

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Welcome to Boston! Prince William and Princess Kate have touched down in the United States for the first time in nearly a decade. “Catherine and I are delighted to be back in the United States and are extremely grateful to Governor [Charlie] Baker and The First Lady of Massachusetts for their warm welcome into Boston,” the Prince of Wales, 40, wrote via the couple’s official joint Twitter account on Wednesday, November 30. The statement continued: “On this, our first overseas visit since the death of my grandmother, I would like to thank the people of Massachusetts and particularly of Boston for their many tributes paid to the late Queen. She remembered her 1976 bicentennial visit with great fondness.” Kate, 40, and William’s trip, which coincides with the Earthshot Prize awards ceremony, was announced in July. “In 2022, we’re back and bringing Earthshot to the USA, where we’ll award the next five winners of the prize,” William said in a video shared via Twitter with Boston Red Sox player Xander Bogaerts, who added: “And we will be doing it right here in Boston.” [jwplayer d0oLXzXV-zhNYySv2] William launched Earthshot with David Attenborough in 2020 with the goal of inspiring practical and impactful solutions for problems caused by climate change. The organization’s name was inspired by President John F. Kennedy’s Moonshot, and the late politician’s John F. Kennedy Library Foundation is a host partner for the awards alongside Mayor Michelle Wu. Ahead of their trip, a source exclusively told Us Weekly that the royal pair were “excited” to be stateside after “an emotional few months” following the death of Queen Elizabeth II in September. “[They’re] hoping to boost their royal profile across the pond,” the insider added in October. “Kate and William are not taking this trip lightly and have been brainstorming with their team about the most effective ways to make a positive impact in the U.S. They’re taking a hands-on approach with speeches and engagements.” The former military pilot and the duchess had an “absolute blast” when they visited America in 2014, per the source. William and Kate traveled to New York City for several diplomatic engagements — their last experience in the U.S. before touching down in Boston on Wednesday. At the time, the twosome met LeBron James when they watched the Cleveland Cavaliers play the Brooklyn Nets. [jwplayer xKeagPK0-l3ahXupL] While their Boston visit will be brief ahead of the Earthshot event on Friday, December 2, Kate is hoping to “enjoy the festivities in the build-up to Christmas” with a quick stopover in NYC. “[She’s] dying to go ice-skating at the Rockefeller [Center] and shopping for fun souvenirs for George, Charlotte and Louis,” the source told Us last month, referring to the couple’s three children. During their time in Massachusetts, William and Kate will tour Harvard University and have set up a meeting with Caroline Kennedy, the daughter of JFK. Not only is it their first trip to the U.S. in eight years, but the visit also marks the duo’s first overseas engagement since being named Prince and Princess of Wales. (The titles were previously held by King Charles III and the late Princess Diana.) “TRHs are both excited for their first international trip since taking on their news roles as Prince and Princess of Wales,” a spokesperson for Kensington Palace told ABC News in November. “Both appreciate the history associated to the titles but understandably want to look to the future and pave their own paths.” Scroll down for photos of William and Kate in Boston:

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: Boston Globe/AP/Shutterstock

Arriving in Boston

The senior royals arrived at Boston Logan International Airport on Wednesday, where they were greeted by Governor Baker and the First Lady of Massachusetts. 

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: John Tlumacki/AP/Shutterstock

A Warm Welcome

In a statement shared via Twitter, William thanked the governor and the first lady for their “warm welcome into Boston.”

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: Boston Globe/AP/Shutterstock

Sharply Dressed

The senior royals matched for the occasion, with the prince wearing a black suit and Kate wearing black pants with a matching turtleneck and blazer.

Royals Take Boston! See Photos From William and Kate's U.S. Visit

Credit: Boston Globe/AP/Shutterstock

All Smiles

The duke and duchess’ visit coincided with the Earthshot Prize awards ceremony, a cause dear to their hearts. 

“My grandmother was one of life’s optimists and so am I. That is why last year we launched the Earthshot Prize with the ambition to create a truly global platform to inspire hope and urgent optimism as we look to save the future of our planet,” William wrote via Twitter. 

Every Outfit Princess Kate Wore Boston

Credit: Tim Rooke/Shutterstock

Mayoral Meeting

The twosome looked serious as they prepared to speak with Boston mayor Michelle Wu on Wednesday.

Prince William and Catherine Boston 5

Credit: Pool/Shutterstock

Game Time

The twosome enjoyed a Boston Celtics game on Wednesday night.

William, Kate Put on Happy Faces Hours After Harry's Netflix Trailer Drops

Credit: ANGELA WEISS/AP/Shutterstock

Day 2

William and Kate were all smiles as they stepped out on Thursday, December 1, to visit nonprofit Roca Inc.

William, Kate Put on Happy Faces Hours After Harry's Netflix Trailer Drops

Credit: ANGELA WEISS/AP/Shutterstock

Meet and Greet

The duo shook hands and spent time with local organizers on Thursday.

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Credit: Robin Nunn/Pool/Shutterstock

Bundled Up

The married couple donned winter coats and scarves as they took a walk around Boston’s Piers Park on Thursday.

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Credit: Patrick Semansky/AP/Shutterstock

A Boston Meeting

William met President Joe Biden on Friday, shaking hands before they went for a walk.

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Credit: Matt Stone/AP/Shutterstock

Very Presidential

William visited the John F. Kennedy Presidential Library and Museum on Friday, December 2, where he met with the late president’s daughter, Caroline Kennedy, and her children.

Prince William and Princess Kate Kick Off Royal U.S. Visit in Boston: See Photos

Credit: Tim Rooke/Shutterstock

A Harvard Welcome

The duchess wore a blue checked dress during a public outing at Harvard University’s Center on the Developing Child in Cambridge.

Prince William and Catherine Princess of Wales visit to The Earthshot Prize Awards, MGM Music Hall at Fenway, Boston, Massachusetts, USA - 02 Dec 2022

Credit: Tim Rooke/Shutterstock

A Royal Entrance

Kate and William stunned as they walked Friday’s Earthshot Prize Awards red carpet.

In order to view the gallery, please allow Manage Cookies

Read The Full Article Here