Trump lunches with Macron amid tension on tariffs

0
14

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘intl_business/2019/08/24/trump-g7-france-vpx.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/190824085847-02-trump-g7-france-0824-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”President Trump’s first stop during the G7 summit in France was lunch with his host, French President Emmanuel Macron.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190824085847-02-trump-g7-france-0824-large-169.jpg”,”title”:”Trump lunches with Macron amid tension on tariffs “,”videoCMSUrl”:”/videos/intl_business/2019/08/24/trump-g7-france-vpx.cnn”,”videoLeafUrl”:”/videos/intl_business/2019/08/24/trump-g7-france-vpx.cnn”,”videoId”:”intl_business/2019/08/24/trump-g7-france-vpx.cnn”,”videoUrl”:”/videos/intl_business/2019/08/24/trump-g7-france-vpx.cnn”,”surrogateKey”:”video_27CFBF5C-1E73-3873-7EBC-C42770BB381E”},{“descriptionPlainText”:”CNN’s Matt Egan says investor concerns over the uncertainty caused by the US-China trade war send the Dow plunging after President Donald Trump sent out a series of tweets that indicated that the trade war would be getting worse.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823153550-donald-trump-august-22-2019-large-169.jpg”,”title”:”Dow plunges after Trump tweets about China”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/dow-plunge-trump-tweets-china-tariffs-egan-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/dow-plunge-trump-tweets-china-tariffs-egan-sot.cnn”,”videoId”:”business/2019/08/23/dow-plunge-trump-tweets-china-tariffs-egan-sot.cnn”,”videoUrl”:”/videos/business/2019/08/23/dow-plunge-trump-tweets-china-tariffs-egan-sot.cnn/video/playlists/business-news/”,”surrogateKey”:”video_37F75670-FE0E-86A3-6478-BFB889531CB2″},{“descriptionPlainText”:”CNN’s John Defterios says that China’s new tariffs on $75 billion of US goods shows that Beijing is not going to show any flexibility in the trade war with the US and will go “toe-to-toe” with President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180928090055-china-flags-usa-gfx-large-169.jpg”,”title”:”Defterios: New tariffs show China isn’t backing down”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/china-new-tariffs-on-us-trade-war-analysis-defterios-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/china-new-tariffs-on-us-trade-war-analysis-defterios-sot.cnn”,”videoId”:”business/2019/08/23/china-new-tariffs-on-us-trade-war-analysis-defterios-sot.cnn”,”videoUrl”:”/videos/business/2019/08/23/china-new-tariffs-on-us-trade-war-analysis-defterios-sot.cnn/video/playlists/business-news/”,”surrogateKey”:”video_51737236-0186-30C9-2660-BE958B7E12FB”},{“descriptionPlainText”:”President Donald Trump responded to the news of China’s $75 billion in new tariffs on US goods by attacking Federal Reserve chairman Jerome Powell on Twitter suggesting the central bank is as big of a threat to the US economy as Beijing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823111330-donald-trump-august-21-2019-large-169.jpg”,”title”:”Trump asks if Federal Reserve bigger enemy than China”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/trump-jerome-powell-federal-reserve-bigger-enemy-westwood-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/trump-jerome-powell-federal-reserve-bigger-enemy-westwood-nr-sot-vpx.cnn”,”videoId”:”business/2019/08/23/trump-jerome-powell-federal-reserve-bigger-enemy-westwood-nr-sot-vpx.cnn”,”videoUrl”:”/videos/business/2019/08/23/trump-jerome-powell-federal-reserve-bigger-enemy-westwood-nr-sot-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_17DD5758-85C8-722B-04B4-BF0197806DB5″},{“descriptionPlainText”:”CNN’s Alison Kosik says President Donald Trump’s tweet stating that Federal Reserve chief Jerome Powell did “nothing” at an annual economic symposium in Jackson Hole, Wyoming, is wrong because it would be inappropriate for the central bank to take any action before their meeting in September.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823115257-trump-federal-reserve-tweet-august-23-2019-large-169.jpg”,”title”:”Kosik: Why Trump’s tweet about the Fed is wrong”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/federal-reserve-why-trump-tweet-is-wrong-kosik-sot-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/federal-reserve-why-trump-tweet-is-wrong-kosik-sot-nr.cnn”,”videoId”:”business/2019/08/23/federal-reserve-why-trump-tweet-is-wrong-kosik-sot-nr.cnn”,”videoUrl”:”/videos/business/2019/08/23/federal-reserve-why-trump-tweet-is-wrong-kosik-sot-nr.cnn/video/playlists/business-news/”,”surrogateKey”:”video_169A5151-C809-3E49-AE6C-BF08CE8D90FE”},{“descriptionPlainText”:”CNN’s Matt Egan reports Federal Reserve chairman Jerome Powell acknowledged that the economy has grown more turbulent since the Fed cut rates, but stopped short of giving any indication about what might be coming at the next rate-setting meeting in September during an address at an annual economic symposium in Jackson Hole, Wyoming.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823125044-jerome-powell-july-31-2019-file-large-169.jpg”,”title”:”Powell doesn’t tip hand about what Fed will do next”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/jerome-powell-jackson-hole-federal-reserve-remarks-egan-express-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/jerome-powell-jackson-hole-federal-reserve-remarks-egan-express-sot.cnn”,”videoId”:”business/2019/08/23/jerome-powell-jackson-hole-federal-reserve-remarks-egan-express-sot.cnn”,”videoUrl”:”/videos/business/2019/08/23/jerome-powell-jackson-hole-federal-reserve-remarks-egan-express-sot.cnn/video/playlists/business-news/”,”surrogateKey”:”video_0055666E-9D08-2A64-4DD4-BF4E41C939F6″},{“descriptionPlainText”:”CNN’s Matt Egan says the Federal Reserve chairman Jerome Powell is in a no-win situation because he has to navigate recession fears while trying to please President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190731094047-01-jerome-powell-0716-large-169.jpg”,”title”:”Federal Reserve chief facing no-win situation”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/jerome-powell-federal-reserve-no-win-situation-egan-sot-first-move.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/jerome-powell-federal-reserve-no-win-situation-egan-sot-first-move.cnn”,”videoId”:”business/2019/08/23/jerome-powell-federal-reserve-no-win-situation-egan-sot-first-move.cnn”,”videoUrl”:”/videos/business/2019/08/23/jerome-powell-federal-reserve-no-win-situation-egan-sot-first-move.cnn/video/playlists/business-news/”,”surrogateKey”:”video_A7B5ADA4-94C0-6258-414B-BEDFFFB28408″},{“descriptionPlainText”:”David Koch, billionaire businessman and powerful political donor, is dead at 79 years old.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823081211-02-david-koch-file-large-169.jpg”,”title”:”Conservative billionaire David Koch dies”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/david-koch-dead-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/david-koch-dead-orig.cnn-business”,”videoId”:”business/2019/08/23/david-koch-dead-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/23/david-koch-dead-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_6F1F1968-9870-06AA-55C5-BF5EB5982199″},{“descriptionPlainText”:”Charles and David Koch run Koch Industries, one of the largest privately held companies in the US. They are also some of the biggest players in politics. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/131104071804-david-koch-large-169.jpg”,”title”:”Koch brothers are giants of industry and politics (2015)”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/koch-brothers-who-is-profile-romans-pkg.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/koch-brothers-who-is-profile-romans-pkg.cnn”,”videoId”:”business/2019/08/23/koch-brothers-who-is-profile-romans-pkg.cnn”,”videoUrl”:”/videos/business/2019/08/23/koch-brothers-who-is-profile-romans-pkg.cnn/video/playlists/business-news/”,”surrogateKey”:”video_F00388CF-301E-0DBB-D30D-BE89C87C7F22″},{“descriptionPlainText”:”Apple is warning customers that some fabrics, such as leather and denim, could cause permanent discoloration to the Apple Card. So CNN Business tested it out.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190823143846-apple-card-test-large-169.jpg”,”title”:”We did what Apple told us not to with the Apple Card”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/23/we-did-what-apple-told-us-not-to-with-the-apple-card-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/23/we-did-what-apple-told-us-not-to-with-the-apple-card-orig.cnn-business”,”videoId”:”business/2019/08/23/we-did-what-apple-told-us-not-to-with-the-apple-card-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/23/we-did-what-apple-told-us-not-to-with-the-apple-card-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_EF4CD587-794B-0F49-208C-BF917462D301″},{“descriptionPlainText”:”CNN’s Vanessa Yurkevich reports the US Steel announcement that it will temporarily lay off 200 workers in Ecorse, Michigan, has left many in the community confused and shocked.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820100617-united-states-steel-layoffs-large-169.jpg”,”title”:”US Steel announces temporary layoffs”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/22/us-steel-temporary-layoffs-michigan-yurkevich-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/22/us-steel-temporary-layoffs-michigan-yurkevich-nr-sot-vpx.cnn”,”videoId”:”business/2019/08/22/us-steel-temporary-layoffs-michigan-yurkevich-nr-sot-vpx.cnn”,”videoUrl”:”/videos/business/2019/08/22/us-steel-temporary-layoffs-michigan-yurkevich-nr-sot-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_407399FE-952B-DC80-951C-B9936DE04CB2″},{“descriptionPlainText”:”An Israeli company is trying to crack the code of animal meat by engineering beef inside a lab. CNN’s Dr. Sanjay Gupta reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190822124857-vital-signs-designer-meat-large-169.jpg”,”title”:”Company is growing steak without the cow”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/22/company-growing-own-steaks-no-cow-gupta-vital-signs-pkg.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/22/company-growing-own-steaks-no-cow-gupta-vital-signs-pkg.cnn”,”videoId”:”business/2019/08/22/company-growing-own-steaks-no-cow-gupta-vital-signs-pkg.cnn”,”videoUrl”:”/videos/business/2019/08/22/company-growing-own-steaks-no-cow-gupta-vital-signs-pkg.cnn/video/playlists/business-news/”,”surrogateKey”:”video_9B3B722E-6E09-5D7E-BF10-BA24B90B1B6D”},{“descriptionPlainText”:”Carole Ghosn, the wife of former Renault-Nissan Alliance chairman Carlos Ghosn who was arrested for allegedly violating Japanese financial law, says she wants a fair trial for her husband and explains why she has asked French Prime Minister Emannuel Macron to speak to Japanese Prime Minister Shinzo Abe about her husband’s situation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190822151210-01-carole-ghosn-august-22-2019-qmb-large-169.jpg”,”title”:”Carlos Ghosn’s wife demands fair trial for husband”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/22/carole-ghosn-japan-carlos-ghosn-fair-trial-sot-qmb.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/22/carole-ghosn-japan-carlos-ghosn-fair-trial-sot-qmb.cnn”,”videoId”:”business/2019/08/22/carole-ghosn-japan-carlos-ghosn-fair-trial-sot-qmb.cnn”,”videoUrl”:”/videos/business/2019/08/22/carole-ghosn-japan-carlos-ghosn-fair-trial-sot-qmb.cnn/video/playlists/business-news/”,”surrogateKey”:”video_A13E0654-767B-F497-5CB2-BAB7B00E017A”},{“descriptionPlainText”:”Nicknamed “FEDOR,” the Skybot F-850 is on its way to the International Space Station, according to Russian space agency Roscosmos.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190822155230-robot-russia-space-mission-large-169.jpg”,”title”:”Russia launched rocket with humanoid robot into space”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/22/robot-mission-russia-international-space-station-kk-lon-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/22/robot-mission-russia-international-space-station-kk-lon-orig.cnn-business”,”videoId”:”business/2019/08/22/robot-mission-russia-international-space-station-kk-lon-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/22/robot-mission-russia-international-space-station-kk-lon-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_B0932F82-2828-6AC0-A398-B99810AD7F79″},{“descriptionPlainText”:”President Donald Trump says it is irrelevant if the trade war in China hurts the US economy in the short term, maintaining that the US will be better off in the end.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190821094330-04-donald-trump-august-20-2019-large-169.jpg”,”title”:”Trump: Irrelevant if trade war hurts economy in short term”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/21/trump-trade-war-recession-irrelevant-short-term-sot-first-move.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/21/trump-trade-war-recession-irrelevant-short-term-sot-first-move.cnn”,”videoId”:”business/2019/08/21/trump-trade-war-recession-irrelevant-short-term-sot-first-move.cnn”,”videoUrl”:”/videos/business/2019/08/21/trump-trade-war-recession-irrelevant-short-term-sot-first-move.cnn/video/playlists/business-news/”,”surrogateKey”:”video_08C40912-197D-845F-FCB3-B463D7AE6636″},{“descriptionPlainText”:”Charles Schwab Chief Investment Strategist Liz Ann Sonders explains why if the current weakness in manufacturing spreads, a recession will likely follow.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814100715-01-china-trade-large-169.jpg”,”title”:”Strategist: Global manufacturing recession is underway”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/21/markets-now-charles-schwab-cis-manufacturing-recession.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/21/markets-now-charles-schwab-cis-manufacturing-recession.cnn-business”,”videoId”:”business/2019/08/21/markets-now-charles-schwab-cis-manufacturing-recession.cnn-business”,”videoUrl”:”/videos/business/2019/08/21/markets-now-charles-schwab-cis-manufacturing-recession.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_3BD74DAD-EF4A-7C50-2080-B5339D91CF0C”}],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:”intl_business/2019/08/24/trump-g7-france-vpx.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-1jrv6ma’,videoDescriptionDivId: ‘js-video_description-1jrv6ma’,videoDurationDivId: ‘js-video_duration-1jrv6ma’,videoTitleDivId: ‘js-leaf-video_headline-1jrv6ma’,videoSourceDivId: ‘js-video_sourceName-1jrv6ma’});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 link

LEAVE A REPLY