12-year-old boy discovers a rare dinosaur fossil in Canada

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/10/16/canada-dinosaur-fossil-discovery-eg-orig.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,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/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Nathan Hrushkin, a 12-year-old boy from Calgary in Alberta, Canada, was on a hike with his father over the summer when he came across a significant discovery: the arm bone of a duck-billed dinosaur that was 69 million years old.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201015235526-nathan-dion-hrushkin-dinosaur-fossil-canada-large-169.jpg”,”title”:”Hear from the 12-year-old who discovered a rare dinosaur fossil”,”videoCMSUrl”:”/videos/world/2020/10/16/canada-dinosaur-fossil-discovery-eg-orig.cnn”,”videoLeafUrl”:”/videos/world/2020/10/16/canada-dinosaur-fossil-discovery-eg-orig.cnn”,”videoId”:”world/2020/10/16/canada-dinosaur-fossil-discovery-eg-orig.cnn”,”videoUrl”:”/videos/world/2020/10/16/canada-dinosaur-fossil-discovery-eg-orig.cnn”,”surrogateKey”:”video_DE2907B0-274E-FE29-7B3A-2F813A672ADF”},{“descriptionPlainText”:”Protests continue in Bangkok, Thailand, despite a government ban on public gatherings. Police have moved in and arrested more than a dozen protesters, including three prominent activists. Journalist Jonathan Miller reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201016115643-thailand-bangkok-protests-continue-amid-government-crackdown-miller-pkg-intl-hnk-vpx-00025925-large-169.jpg”,”title”:”Protests continue in Thailand amid government crackdown”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/16/thailand-bangkok-protests-continue-amid-government-crackdown-miller-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/16/thailand-bangkok-protests-continue-amid-government-crackdown-miller-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/10/16/thailand-bangkok-protests-continue-amid-government-crackdown-miller-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/16/thailand-bangkok-protests-continue-amid-government-crackdown-miller-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6FB302BC-07E3-A151-3DF9-2F367E5E6BE7″},{“descriptionPlainText”:”The UK has left the EU in January, but Brexit talks are still ongoing as the two sides are trying to define their future relationship. CNN’s Nina Dos Santos takes a look at where we are with the negotiations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013130355-brexit-explainer-orig-thumbnail-large-169.jpg”,”title”:”Britain has already left the EU but here’s what still needs to happen”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/13/brexit-talks-uk-eu-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/13/brexit-talks-uk-eu-lon-orig-bks.cnn”,”videoId”:”world/2020/10/13/brexit-talks-uk-eu-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2020/10/13/brexit-talks-uk-eu-lon-orig-bks.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A4E35FEA-C4D4-235F-9834-21C9181CD228″},{“descriptionPlainText”:”Protesters flooded the streets of Bangkok, Thailand in another round of demonstrations that call for a new constitution and government reforms. Journalist Jonanthan Miller reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201015110026-thailand-bangkok-protest-government-house-miller-wt-pkg-intl-hnk-vpx-00005911-large-169.jpg”,”title”:”Angry Thai protesters obstruct royal motorcade”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/15/thailand-bangkok-protest-government-house-miller-wt-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/15/thailand-bangkok-protest-government-house-miller-wt-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/10/15/thailand-bangkok-protest-government-house-miller-wt-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/15/thailand-bangkok-protest-government-house-miller-wt-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_EB0EB45A-C555-5DBC-7735-2A172A89A17C”},{“descriptionPlainText”:”During a virtual summit with Fortune, Meghan, Duchess of Sussex, explains why she is not on social media and how it can become addictive.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014105955-meghan-markle-social-media-mxp-vpx-00003220-large-169.jpg”,”title”:”Meghan Markle explains why she is not on social media “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/14/meghan-markle-social-media-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/14/meghan-markle-social-media-mxp-vpx.hln”,”videoId”:”world/2020/10/14/meghan-markle-social-media-mxp-vpx.hln”,”videoUrl”:”/videos/world/2020/10/14/meghan-markle-social-media-mxp-vpx.hln/video/playlists/around-the-world/”,”surrogateKey”:”video_EF713EC8-74A2-705F-4FC9-27921306BF37″},{“descriptionPlainText”:”The Catholic Church beatified Carlo Acutis, a 15-year-old “computer genius” who died of leukemia in 2006.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201013094945-01-carlo-acutis-beatification-1010-large-169.jpg”,”title”:”Church could make teen ‘genius’ first millennial saint”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/13/carlo-acutis-teen-beatified-church-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/13/carlo-acutis-teen-beatified-church-orig-vstop-bdk.cnn”,”videoId”:”world/2020/10/13/carlo-acutis-teen-beatified-church-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/world/2020/10/13/carlo-acutis-teen-beatified-church-orig-vstop-bdk.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7D4961AB-945A-A848-48BD-22E674937C83″},{“descriptionPlainText”:”Around 4,500 macaque monkeys live in the city of Lopburi, Thailand. While the animals attract tourists, many locals say their booming population has been making their lives harder.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201008121124-05-lopburi-getty-large-169.jpg”,”title”:”‘I have to live in a cage’: See how this city copes with its monkey population”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/10/13/lopburi-monkeys-thailand-lon-orig-tp.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/10/13/lopburi-monkeys-thailand-lon-orig-tp.cnn”,”videoId”:”travel/2020/10/13/lopburi-monkeys-thailand-lon-orig-tp.cnn”,”videoUrl”:”/videos/travel/2020/10/13/lopburi-monkeys-thailand-lon-orig-tp.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1B77414A-3223-11DE-283E-2194EDC2CB66″},{“descriptionPlainText”:”Nigeria’s Special Anti-Robbery Squad, a controversial police unit accused of brutality, will be disbanded following nationwide protests demanding an end to police violence in the country. CNN’s Stephanie Busari reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201012111716-nigeria-sars-protests-10092020-large-169.jpg”,”title”:”Police use water cannons against protesters in Nigeria”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/12/nigeria-protests-sars-police-brutality-busari-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/12/nigeria-protests-sars-police-brutality-busari-intl-ldn-vpx.cnn”,”videoId”:”world/2020/10/12/nigeria-protests-sars-police-brutality-busari-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/12/nigeria-protests-sars-police-brutality-busari-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_3387D5EB-81DC-C064-6B96-1C3B440DF52E”},{“descriptionPlainText”:”Kim Jong Un choked up before praising North Korea’s “anti-epidemic” efforts and unveiling a new missile. No crowd members appeared to be wearing masks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201010164100-kju-thumb-2-large-169.jpg”,”title”:”See Kim Jong Un choke up during speech at massive, elaborate parade”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/10/kim-jong-un-emotional-covid-19-military-parade-missile-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/10/kim-jong-un-emotional-covid-19-military-parade-missile-orig-kj.cnn”,”videoId”:”world/2020/10/10/kim-jong-un-emotional-covid-19-military-parade-missile-orig-kj.cnn”,”videoUrl”:”/videos/world/2020/10/10/kim-jong-un-emotional-covid-19-military-parade-missile-orig-kj.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_42A59A1A-FDA1-A5F5-C133-13F686C8B2BB”},{“descriptionPlainText”:”Nahla al-Nadawi’s 19-year-old son Ussayid is autistic and expresses himself through colorful artwork. Since caring for his mother and stepfather while they were sick with Covid-19, his drawings have taken a somber turn. CNN’s Arwa Damon reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201010231349-iraq-coronavirus-autistic-teen-damon-large-169.jpg”,”title”:”Autistic teen draws in black after mom got Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/11/iraq-coronavirus-autistic-teen-damon-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/11/iraq-coronavirus-autistic-teen-damon-pkg-vpx.cnn”,”videoId”:”world/2020/10/11/iraq-coronavirus-autistic-teen-damon-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/11/iraq-coronavirus-autistic-teen-damon-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_148704D8-144B-5EF0-05DD-15A3C460B100″},{“descriptionPlainText”:”Nigerians have taken to the streets in organized mass protests across the country demanding an end to police brutality.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201009133501-01-nigeria-police-sars-police-brutality-protest-large-169.jpg”,”title”:”Nigerian police use teargas at protest against police brutality”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/10/nigeria-anti-police-brutality-protest-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/10/nigeria-anti-police-brutality-protest-vpx.cnn”,”videoId”:”world/2020/10/10/nigeria-anti-police-brutality-protest-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/10/nigeria-anti-police-brutality-protest-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_70B5C43F-DE91-798E-7EE4-138A82E85903″},{“descriptionPlainText”:”The UN’s World Food Programme has been awarded the 2020 Nobel Peace Prize. Executive director David Beasley called it “the most exciting point in time in his life.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201009113130-wfp-executive-director-reacts-large-169.jpg”,”title”:”Watch WFP chief’s elated reaction to winning Nobel Peace Prize”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/09/nobel-peace-prize-winner-world-food-programme-lc-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/09/nobel-peace-prize-winner-world-food-programme-lc-lon-orig.cnn”,”videoId”:”world/2020/10/09/nobel-peace-prize-winner-world-food-programme-lc-lon-orig.cnn”,”videoUrl”:”/videos/world/2020/10/09/nobel-peace-prize-winner-world-food-programme-lc-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1EF62D10-BB8A-93B8-9DB7-0E04FC154A34″},{“descriptionPlainText”:”Armenian President Armen Sarkissian speaks to CNN’s Becky Anderson about the growing conflict over Nagorno Karabakh, an Armenian enclave in Azerbaijan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201009202830-armenian-president-armen-sarkissian-azerbaijan-conflict-becky-anderson-intvw-ctw-00002013-large-169.jpg”,”title”:”Armenian President: ‘God help everybody’ if conflict escalates”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/10/armenian-president-armen-sarkissian-azerbaijan-conflict-becky-anderson-intvw-ctw.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/10/armenian-president-armen-sarkissian-azerbaijan-conflict-becky-anderson-intvw-ctw.cnn”,”videoId”:”world/2020/10/10/armenian-president-armen-sarkissian-azerbaijan-conflict-becky-anderson-intvw-ctw.cnn”,”videoUrl”:”/videos/world/2020/10/10/armenian-president-armen-sarkissian-azerbaijan-conflict-becky-anderson-intvw-ctw.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_ECCDF61B-575C-F701-3FF0-0FDED6EEB01A”},{“descriptionPlainText”:”French aid worker Sophie Pétronin has finally been reunited with her son after being held hostage by Islamist extremists for 1,381 days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201009184910-french-aid-hostage-release-dv-large-169.jpg”,”title”:”See mother’s emotional reunion with son after captivity”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/09/french-aid-hostage-sophie-ptronin-released-mali-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/09/french-aid-hostage-sophie-ptronin-released-mali-lon-orig.cnn”,”videoId”:”world/2020/10/09/french-aid-hostage-sophie-ptronin-released-mali-lon-orig.cnn”,”videoUrl”:”/videos/world/2020/10/09/french-aid-hostage-sophie-ptronin-released-mali-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_48FB8D19-4F5C-4CC9-2ECF-0E28B2B4C859″},{“descriptionPlainText”:”Prince William talks to CNN’s Max Foster about the Earthshot Prize, a new environmental award that Kensington Palace hopes will inspire solutions to some of the Earth’s most pressing challenges.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201007175151-prince-william-max-foster-interview-solo-1007-large-169.jpg”,”title”:”Prince William: Earthshot Prize is about optimism”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/07/prince-william-earthshot-prize-foster-intvu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/07/prince-william-earthshot-prize-foster-intvu-vpx.cnn”,”videoId”:”world/2020/10/07/prince-william-earthshot-prize-foster-intvu-vpx.cnn”,”videoUrl”:”/videos/world/2020/10/07/prince-william-earthshot-prize-foster-intvu-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_FB55B713-4AFD-8E20-9363-04A9FA4E07B5″},{“descriptionPlainText”:”Around 26,000 baby chicks were abandoned at Madrid Barajas International Airport without food or water. The majority of them died.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201008125331-03-madrid-airport-chicks-large-169.jpg”,”title”:”Thousands of abandoned chicks die at Madrid’s airport”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/08/thousands-of-chicks-died-at-madrid-airport-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/08/thousands-of-chicks-died-at-madrid-airport-lon-orig-na.cnn”,”videoId”:”world/2020/10/08/thousands-of-chicks-died-at-madrid-airport-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2020/10/08/thousands-of-chicks-died-at-madrid-airport-lon-orig-na.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_721E7DF1-196A-8150-AC99-092C4F75A044″}],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:”world/2020/10/16/canada-dinosaur-fossil-discovery-eg-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-1qnqdm’,videoDescriptionDivId: ‘js-video_description-1qnqdm’,videoDurationDivId: ‘js-video_duration-1qnqdm’,videoTitleDivId: ‘js-leaf-video_headline-1qnqdm’,videoSourceDivId: ‘js-video_sourceName-1qnqdm’});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(‘


Source : Cnn