Office with a View: Philadelphia

0
‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2019/10/14/office-with-a-view-philadelphia.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”If you are heading to Philadelphia for business, not only can you immerse yourself in history, but enjoy the Philadelphia of today and get a glimpse of tomorrow, all while getting your work done!”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191014143028-office-with-a-view-philadelphia-00000601-large-169.jpg”,”title”:”Office with a View: Philadelphia”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/14/office-with-a-view-philadelphia.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/14/office-with-a-view-philadelphia.cnn”,”videoId”:”travel/2019/10/14/office-with-a-view-philadelphia.cnn”,”videoUrl”:”/videos/travel/2019/10/14/office-with-a-view-philadelphia.cnn/video/playlists/travel/”,”surrogateKey”:”video_46B4831E-8422-E0EB-670A-CB7417A712BC”},{“descriptionPlainText”:”A more spacious 102nd-floor observatory with floor-to-ceiling views is just one part of a major renovation for New York City’s iconic Empire State Building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191007164828-empire-state-building-sunrise-large-169.jpg”,”title”:”The Empire State Building’s $165 million renovation”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/11/empire-state-building-observatory-renovation-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/11/empire-state-building-observatory-renovation-travel-orig.cnn”,”videoId”:”travel/2019/10/11/empire-state-building-observatory-renovation-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/10/11/empire-state-building-observatory-renovation-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_C0B6C97A-7929-C746-59CA-B1B7B34D9565″},{“descriptionPlainText”:”Go inside the world’s largest indoor vertical farm that’s growing aeroponic greens for a sustainability-focused menu for SIngapore Airlines.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191010184156-aa-singapore-air-food-photos-cu-large-169.jpg”,”title”:”One airline’s vertical farm is revamping airplane meals “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/08/singapore-air-farm-to-table-travl-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/08/singapore-air-farm-to-table-travl-orig.cnn”,”videoId”:”travel/2019/10/08/singapore-air-farm-to-table-travl-orig.cnn”,”videoUrl”:”/videos/travel/2019/10/08/singapore-air-farm-to-table-travl-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_46B4831E-8422-E0EB-670A-CB7417A712BC”},{“descriptionPlainText”:”Autumn is bringing beautiful fall foliage across the Unites States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191010122627-fall-leaves-large-169.jpg”,”title”:”Drone captures beautiful autumn colors”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn”,”videoId”:”travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn”,”videoUrl”:”/videos/travel/2019/10/10/fall-foliage-drone-shot-newsource-orig-vpx.cnn/video/playlists/travel/”,”surrogateKey”:”video_2DA51D5C-8F03-696A-E6FA-B8D3DBEB1123″},{“descriptionPlainText”:”Passengers on a Norwegian Cruise Line trip started a protest after multiple port calls were cancelled because of weather conditions”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191010170450-cruise-protest-thumb-1-large-169.jpg”,”title”:”Videos from cruise show passengers demanding refunds”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn”,”videoId”:”travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn”,”videoUrl”:”/videos/travel/2019/10/10/videos-from-cruise-show-passengers-demanding-refunds-orig-ll.cnn/video/playlists/travel/”,”surrogateKey”:”video_F652D448-6BF5-5960-D461-ACCC4BE3C58B”},{“descriptionPlainText”:”A camera on a Bay Area tower captured dense fog flowing over the Golden Gate Bridge in San Francisco. Watch this incredible time-lapse of the “advection fog.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009121203-golden-gate-bridge-fog-large-169.jpg”,”title”:”Tower camera captures incredible fog over Golden Gate “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn”,”videoId”:”travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn”,”videoUrl”:”/videos/travel/2019/10/09/golden-gate-bridge-fog-travel-newssource.cnn/video/playlists/travel/”,”surrogateKey”:”video_67561C3A-AE67-CAF5-6AF5-B6792E083F9A”},{“descriptionPlainText”:”Jessica Nabongo completes her goal in visiting 195 countries”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180419111915-jessica-nabongo-cartagena-large-169.jpg”,”title”:”She’s now the first black woman to visit every country”,”videoCMSUrl”:”/video/data/3.0/video/travel-play/2018/04/25/jessica-nabongo.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-play/2018/04/25/jessica-nabongo.cnn”,”videoId”:”travel-play/2018/04/25/jessica-nabongo.cnn”,”videoUrl”:”/videos/travel-play/2018/04/25/jessica-nabongo.cnn/video/playlists/travel/”,”surrogateKey”:”video_E65BCB95-7142-ADED-93C8-B777EEED0FE8″},{“descriptionPlainText”:”Jessica Van Meir was on a Virgin Atlantic flight for business when she received lewd and harassing messages on the plane’s in-flight messaging system. The story sparked outrage.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/130809084617-virgin-atlantic-plane-large-169.jpg”,”title”:”Virgin’s in-flight messaging tool goes very wrong”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn”,”videoId”:”travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/10/09/virgin-in-flight-messaging-harassment-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_E30B5706-4303-9C45-7620-B13A21E0EC99″},{“descriptionPlainText”:”Ho Chi Minh died 50 years ago, but people still line up to see his body.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191007104451-05-ho-chi-minh-mausoleum-large-169.jpg”,”title”:”Visiting Ho Chi Minh’s mausoleum”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/10/09/ho-chi-minh-mausoleum-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/10/09/ho-chi-minh-mausoleum-travel-orig.cnn”,”videoId”:”travel/2019/10/09/ho-chi-minh-mausoleum-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/10/09/ho-chi-minh-mausoleum-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_84379100-6C68-AF23-82E2-FE71CBC69AE3″}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));CNN.VideoPlayer.showFlashSlate(containerEl);} else {CNN.autoPlayVideoExist = true;}}}configObj.autostart = CNN.Features.enableAutoplayBlock ? false : autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {autostart: false,muteOverlayClicked: true,videoCollection: this.videoCollection},shouldStartVideo = false,playerInstance;try {articleElem = jQuery(evt.currentTarget).find(‘article’);thumbImageElem = jQuery(articleElem).find(‘.media__image’);videoId = articleElem.data().videoId;if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(configObj.markupId);if (CNN.Utils.existsObject(playerInstance) &&typeof playerInstance.getVideoData === ‘function’ &&playerInstance.getVideoData().id !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();playerInstance.play(videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance().getPlayerByContainer(configObj.markupId);if (videoPlayer && videoPlayer.videoInstance) {if (!videoPlayer.videoInstance.cvp) {if (typeof thumbImageElem !== ‘undefined’ && thumbImageElem !== null) {thumbImageLargeSource = thumbImageElem.data() && thumbImageElem.data().srcLarge ? thumbImageElem.data().srcLarge : ‘none’;}overrides.thumb = thumbImageLargeSource ? thumbImageLargeSource : ‘none’;shouldStartVideo = true;}if (videoPlayer.videoInstance.config) {if (videoPlayer.videoInstance.config.video !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}}}}} catch (error) {console.log(“error in initializing video player” + error);}}function setInitialVideoEmbed() {}function initialize(){var carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),owl;if (carousel) {carousel.find(‘.cn__column.carousel__content__item’).find(‘a’).removeAttr(‘href’);jQuery(carousel).on(‘click’, ‘.cn__column.carousel__content__item’, onVideoCarouselItemClicked);}}if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}CNN.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”travel/2019/10/14/office-with-a-view-philadelphia.cnn”, isEmbeddable: “yes”};CNN.Videx.EmbedButton.updateCode(initMeta);}).fail(function () {throw ‘Unable to fetch the videx bundle.’;});function updateCurrentlyPlaying(videoId) {var videoCollectionId = ‘current_video_collection’,videocardContents = getCurrentVideoCardContents(videoId),carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),domain = CNN.Host.domain || (document.location.protocol + ‘//’ + document.location.hostname),owl,$owlFirstItem,$owlPrevItem,showDetailsSpanContent = ”,gigyaShareElement,showIndex,whatsappShareElement,$carouselContentItems = jQuery(‘.carousel__content__item’, document.getElementById(‘cn-current_video_collection’));gigyaShareElement = jQuery(‘div.js-gigya-sharebar’);if (typeof gigyaShareElement !== ‘undefined’ && CNN.Utils.existsObject(videocardContents)) {jQuery(gigyaShareElement).attr(‘data-title’, videocardContents.headlinePlainText || ”);jQuery(gigyaShareElement).attr(‘data-description’, videocardContents.descriptionPlainText || ”);jQuery(gigyaShareElement).attr(‘data-link’, domain + videocardContents.url || ”);jQuery(gigyaShareElement).attr(‘data-image-src’, (videocardContents.media && videocardContents.media.elementContents && videocardContents.media.elementContents.imageUrl) || ”);}whatsappShareElement = jQuery(‘div.share-bar-whatsapp-container’);if (typeof whatsappShareElement !== ‘undefined’) {jQuery(whatsappShareElement).attr(‘data-title’, videocardContents.headlinePlainText || ”);jQuery(whatsappShareElement).attr(‘data-storyurl’, domain + videocardContents.url || ”);}if (carousel && currentVideoCollectionContainsId(videoId)) {owl = carousel.data(‘owl.carousel’) || {};showIndex = getCurrentVideoIndex(videoId);if (typeof owl.to === ‘function’) {owl.to(showIndex);}$owlPrevItem = CNN.Utils.exists(owl.$element) ? owl.$element.find(‘.cd.cd–active’) : $carouselContentItems.find(‘.cd.cd–active’);$owlPrevItem.removeClass(‘cd–active’);$owlPrevItem.find(‘.media__over-text’).remove();$owlPrevItem.find(‘.media__icon’).show();$owlFirstItem = CNN.Utils.exists(owl._items) ? jQuery(owl._items[showIndex]) : $carouselContentItems.eq(showIndex);$owlFirstItem.find(‘.cd’).addClass(‘cd–active’);$owlFirstItem.find(‘.media a:first-child’).append(‘

Now Playing

‘);if (Modernizr && !Modernizr.phone) {$owlFirstItem.find(‘.media__icon’).hide();}}CNN.Videx.Metadata.init({dateCreated: videocardContents.dateCreated,descriptionText: videocardContents.descriptionText,duration: videocardContents.duration,sourceLink: videocardContents.sourceLink,sourceName: videocardContents.sourceName,title: videocardContents.headlineText},{videoCollectionDivId: ‘cn-4b56j4’,videoDescriptionDivId: ‘js-video_description-4b56j4’,videoDurationDivId: ‘js-video_duration-4b56j4’,videoTitleDivId: ‘js-leaf-video_headline-4b56j4’,videoSourceDivId: ‘js-video_sourceName-4b56j4’});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = ” + videocardContents.showName + ‘ | ‘;} else {showDetailsSpanContent = videocardContents.showName + ‘ | ‘;}}fastdom.measure(function getShowInfo() {var $show = jQuery(‘.metadata__show’),$isShowDetailsSpanExists = $show.find(‘span’).hasClass(‘metadata–show__name’),$showName = jQuery(‘.metadata–show__name’);fastdom.mutate(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend(‘

2019-10-14 19:09:10

Read more from source here…

LEAVE A REPLY

Please enter your comment!
Please enter your name here