How to pack a carry on with Samantha Brown

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/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.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/200109165621-6-samantha-brown-places-carry-on-packing-tips-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Samantha Brown has been crossing the globe as a TV travel host for 20 years. She often just takes a carry on bag, and offers her best tips for packing up your luggage. First tip: go with a hardside suitcase”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200109165621-6-samantha-brown-places-carry-on-packing-tips-large-169.jpg”,”title”:”How to pack a carry on with Samantha Brown”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.cnn”,”videoId”:”travel/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_68B8A24D-4C5D-A858-DAA3-8BE04171AF91″},{“descriptionPlainText”:”Chefs Andrew Zimmern, Hugh Acheson, Ashley Christensen and others weigh in on the under appreciated cities, like Denver and Louisville, that are dishing up great food.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191215145719-24-surprising-food-cities-large-169.jpg”,”title”:”Celebrity chefs on under-appreciated food cities”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/02/surprising-good-food-cities-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/02/surprising-good-food-cities-travel-orig.cnn”,”videoId”:”travel/2020/01/02/surprising-good-food-cities-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/02/surprising-good-food-cities-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_D4D7C106-FC6B-70A3-6667-87140ABBF2B4″},{“descriptionPlainText”:”Loyalty runs deep in Chicago, allegiances are formed during childhood and neighborhoods often dictate where you fall.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200107125149-pizza-politics-sports-qwow-chicago-c-00005213-large-169.jpg”,”title”:”Chicago: Pizza, politcs or sports”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/07/pizza-politics-sports-qwow-chicago-c.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/07/pizza-politics-sports-qwow-chicago-c.cnn”,”videoId”:”travel/2020/01/07/pizza-politics-sports-qwow-chicago-c.cnn”,”videoUrl”:”/videos/travel/2020/01/07/pizza-politics-sports-qwow-chicago-c.cnn/video/playlists/travel/”,”surrogateKey”:”video_68B8A24D-4C5D-A858-DAA3-8BE04171AF91″},{“descriptionPlainText”:”All year, CNN Travel’s editors work on stories spanning the globe, touching on everything from sustainability to overcrowding. Now, they’ve picked 20 places you should visit in 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191231185739-2020-destinations-kyrgyzstan-cnn-large-169.jpg”,”title”:”Dominica, Galway, Jamaica: 20 places to visit in 2020″,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/31/20-places-to-visit-in-2020-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/31/20-places-to-visit-in-2020-travel-orig.cnn”,”videoId”:”travel/2019/12/31/20-places-to-visit-in-2020-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/31/20-places-to-visit-in-2020-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_E6159596-B963-19FD-2330-673903FA0C28″},{“descriptionPlainText”:”Chicago is steeped with rich mob history from Capone to Frank Calabrese aka “Frankie Breeze””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200107124211-mobsters-politics-capone-frank-calabrese-qwow-chicago-b-00002326-large-169.jpg”,”title”:”Chicago’s mobster era was more powerful than New York”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/07/mobsters-politics-capone-frank-calabrese-qwow-chicago-b.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/07/mobsters-politics-capone-frank-calabrese-qwow-chicago-b.cnn”,”videoId”:”travel/2020/01/07/mobsters-politics-capone-frank-calabrese-qwow-chicago-b.cnn”,”videoUrl”:”/videos/travel/2020/01/07/mobsters-politics-capone-frank-calabrese-qwow-chicago-b.cnn/video/playlists/travel/”,”surrogateKey”:”video_DED75021-3E61-7B22-AADA-807A473A8A9E”},{“descriptionPlainText”:”The small town of Izamal is also called the Yellow City. It’s one of Mexico’s “magical towns.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191120114920-izamal-mexico-large-169.jpg”,”title”:”Izamal, a Mexican magical town”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/11/20/izamal-yellow-city-mexico-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/11/20/izamal-yellow-city-mexico-travel-orig.cnn”,”videoId”:”travel/2019/11/20/izamal-yellow-city-mexico-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/11/20/izamal-yellow-city-mexico-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_75EA2E41-C64A-EE4E-3953-5E57A2862B87″},{“descriptionPlainText”:”Every 10 seconds an Embraer plane takes off somewhere in the world. CNN went inside the company to see just what makes this manufacturer in São Paulo so successful.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191230124853-embraer-manufacturer-sao-paolo-large-169.jpg”,”title”:”Brazil’s Embraer: World’s 3rd largest plane manufacturer”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/30/embraer-airplanes-sao-paolo-travel-vision.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/30/embraer-airplanes-sao-paolo-travel-vision.cnn”,”videoId”:”travel/2019/12/30/embraer-airplanes-sao-paolo-travel-vision.cnn”,”videoUrl”:”/videos/travel/2019/12/30/embraer-airplanes-sao-paolo-travel-vision.cnn/video/playlists/travel/”,”surrogateKey”:”video_DD6EBB3A-D705-53EF-9EB3-8079D45459F6″},{“descriptionPlainText”:”Eric Palmieri, a fifth-generation Italian baker, makes artwork out of pizza. CNN affiliate WPRI reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191227154900-13-pizza-art-rhode-island-large-169.jpg”,”title”:”Watch how baker turns pizza into art “,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/28/pizza-art-rhode-island-dnt-vpx.wpri/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/28/pizza-art-rhode-island-dnt-vpx.wpri”,”videoId”:”travel/2019/12/28/pizza-art-rhode-island-dnt-vpx.wpri”,”videoUrl”:”/videos/travel/2019/12/28/pizza-art-rhode-island-dnt-vpx.wpri/video/playlists/travel/”,”surrogateKey”:”video_947336D3-BC5E-16FF-ABE6-89ACB400B7CB”},{“descriptionPlainText”:”Enjoy winter on one of these New York City rooftops. Find more of our favorite New York rooftop bar picks here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121162433-10-nyc-rooftop-photos-large-169.jpg”,”title”:”Best NYC winter rooftop bars”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/10/nyc-best-winter-rooftops-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/10/nyc-best-winter-rooftops-travel-orig.cnn”,”videoId”:”travel/2019/12/10/nyc-best-winter-rooftops-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/10/nyc-best-winter-rooftops-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_F4878599-F09B-5F64-3F7E-57E41EFE575F”},{“descriptionPlainText”:”The Mangrove National Park not only acts as a defense force against coastal erosion and global warming but also provides a peaceful break from city life. Visitors can experience the park by kayak, having minimal impact on their surroundings.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191220165113-mangrove1-large-169.jpg”,”title”:”The national park protecting Abu Dhabi’s coastline”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/20/mangrove-national-park-destination-abu-dhabi-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/20/mangrove-national-park-destination-abu-dhabi-lon-orig.cnn”,”videoId”:”travel/2019/12/20/mangrove-national-park-destination-abu-dhabi-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/20/mangrove-national-park-destination-abu-dhabi-lon-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_BE3E0FD3-5201-7A72-82B3-4D78AB3DD68F”},{“descriptionPlainText”:”As cruise ships have become epic resorts on the seas, cruise companies want to improve their reputation for overcrowding towns and taxing the environment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191210223746-01-cruise-ships-2020-large-169.jpg”,”title”:”Roller coasters and Richard Branson: This is cruising today”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/21/new-cruise-ships-trends-2020-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/21/new-cruise-ships-trends-2020-travel-orig.cnn”,”videoId”:”travel/2019/12/21/new-cruise-ships-trends-2020-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/21/new-cruise-ships-trends-2020-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_16D219FE-840D-E1BB-CC82-F178CB59BD7C”},{“descriptionPlainText”:”At Snowmass, Colorado, teams of retrievers learn how to be avalanche rescue dogs. These dogs can cut down rescue time from hours to minutes. By Matt Hobbs/Vital Films”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171201144835-snowmass-rescue-dogs-running-wide2-large-169.jpg”,”title”:”Watch puppies become avalanche rescue dogs”,”videoCMSUrl”:”/video/data/3.0/video/travel/2017/12/01/snowmass-rescue-dogs.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2017/12/01/snowmass-rescue-dogs.cnn”,”videoId”:”travel/2017/12/01/snowmass-rescue-dogs.cnn”,”videoUrl”:”/videos/travel/2017/12/01/snowmass-rescue-dogs.cnn/video/playlists/travel/”,”surrogateKey”:”video_D17E7A13-9995-4D6A-B734-23F732C43B05″},{“descriptionPlainText”:”The latest “Star Wars” trilogy is coming to a close, but the journey doesn’t end there. Here are a few favorite filming locations you can travel to now. Find even more locations here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191220151931-star-wars-filming-locations-travel-large-169.jpg”,”title”:”You can travel to all these ‘Star Wars’ locations”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/20/star-wars-filming-locations-travel-orig-cz.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/20/star-wars-filming-locations-travel-orig-cz.cnn”,”videoId”:”travel/2019/12/20/star-wars-filming-locations-travel-orig-cz.cnn”,”videoUrl”:”/videos/travel/2019/12/20/star-wars-filming-locations-travel-orig-cz.cnn/video/playlists/travel/”,”surrogateKey”:”video_1AC556EC-11F3-F257-FC89-29C57B55DB44″},{“descriptionPlainText”:”A chef with soul food roots and classic French training, Tanya Holland is Oakland, California’s, most beloved restauranteur. Holland is known for both her sublime waffles (a Brown Sugar Kitchen favorite) — and her efforts to raise awareness and representation of African American chefs.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191217164312-family-meal-san-francisco-tanya-holland-thumbnail1-large-169.jpg”,”title”:”The chef who put Oakland on the culinary map”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/17/family-meal-san-francisco-with-tanya-holland.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/17/family-meal-san-francisco-with-tanya-holland.cnn”,”videoId”:”travel/2019/12/17/family-meal-san-francisco-with-tanya-holland.cnn”,”videoUrl”:”/videos/travel/2019/12/17/family-meal-san-francisco-with-tanya-holland.cnn/video/playlists/travel/”,”surrogateKey”:”video_793FD9E1-C6AC-09F6-C6D3-1390C89DFFDB”},{“descriptionPlainText”:”This famous hotel carved out of ice is celebrating its 30th anniversary. This year artists from 16 countries helped dream up the £1,000-per-night rooms (US $1,413).”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191217110338-icehotel-30th-anniversary—golden-ice-by-nicolas-triboulot-and-jean-marie-guitera–photo-by-asaf-kliger-1-large-169.jpg”,”title”:”Sweden’s ICEHOTEL, built and rebuilt for 30 years”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/17/icehotel-sweden-2019-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/17/icehotel-sweden-2019-travel-orig.cnn”,”videoId”:”travel/2019/12/17/icehotel-sweden-2019-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/17/icehotel-sweden-2019-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_6BFACDF7-4D4D-1CBF-7569-24EA6809FA06″},{“descriptionPlainText”:”Cape Fahn is Koh Samui’s first private island luxury resort. Here’s a peek inside this beautiful holiday property.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191112155902-sand-dune-picnic-at-cape-fahn-hote-large-169.jpg”,”title”:”Koh Samui’s first private island luxury resort”,”videoCMSUrl”:”/video/data/3.0/video/travel-stay/2019/12/17/koh-samui-cape-fahn-private-island-thailand.cnn/index.xml”,”videoLeafUrl”:”/videos/travel-stay/2019/12/17/koh-samui-cape-fahn-private-island-thailand.cnn”,”videoId”:”travel-stay/2019/12/17/koh-samui-cape-fahn-private-island-thailand.cnn”,”videoUrl”:”/videos/travel-stay/2019/12/17/koh-samui-cape-fahn-private-island-thailand.cnn/video/playlists/travel/”,”surrogateKey”:”video_3742874D-6966-C27C-6D1B-15F6FBDCF1CF”},{“descriptionPlainText”:”The Japanese macaques in Jigokudani Monkey Park begin most days with a relaxing dip in their own private hot tub”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/131120131450-japan-snow-monkeys-story-top.jpg”,”title”:”Japan’s snow monkeys de-stress in hot springs”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/12/04/snow-monkeys-japan-hot-springs-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/12/04/snow-monkeys-japan-hot-springs-travel-orig.cnn”,”videoId”:”travel/2019/12/04/snow-monkeys-japan-hot-springs-travel-orig.cnn”,”videoUrl”:”/videos/travel/2019/12/04/snow-monkeys-japan-hot-springs-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_2D364846-3FD7-72F1-6FC6-14FA6E5394F5″},{“descriptionPlainText”:”Samantha Brown sat down with CNN Travel to offer her best tips for making the best of any travel mishap.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200108175512-1—samantha-brown-places-vienna-large-169.jpg”,”title”:”TV host Samantha Brown’s travel tips “,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/08/samantha-brown-travel-tips-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/08/samantha-brown-travel-tips-travel-orig.cnn”,”videoId”:”travel/2020/01/08/samantha-brown-travel-tips-travel-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/08/samantha-brown-travel-tips-travel-orig.cnn/video/playlists/travel/”,”surrogateKey”:”video_771007BF-2DAC-8DC3-8E7C-115B22768615″}],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/2020/01/09/samantha-brown-carry-on-packing-tips-travel-orig.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-24q90i8’,videoDescriptionDivId: ‘js-video_description-24q90i8’,videoDurationDivId: ‘js-video_duration-24q90i8’,videoTitleDivId: ‘js-leaf-video_headline-24q90i8’,videoSourceDivId: ‘js-video_sourceName-24q90i8’});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(‘

2020-01-09 22:23:59

Read more from source here…

LEAVE A REPLY

Please enter your comment!
Please enter your name here