‘)$vidEndSlate.removeClass(‘video__stop-slate–inactive’).addClass(‘video__stop-slate–active’)}}CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : falsevar configObj = thumb: ‘none’,video: ‘entertainment/2021/06/04/kim-kardashian-kanye-west-romantic relationship-mxp-vpx.hln’,width: ‘100%’,top: ‘100%’,segment: ‘domestic’,profile: ‘expansion’,community: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-article-pagetop’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: “mini”:”width”:220,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-little-169.jpg”,”top”:124,”xsmall”:”width”:307,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-medium-in addition-169.jpg”,”top”:173,”little”:”width”:460,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-large-169.jpg”,”top”:259,”medium”:”width”:780,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-exlarge-169.jpg”,”top”:438,”large”:”width”:1100,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-super-169.jpg”,”top”:619,”full16x9″:”width”:1600,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-comprehensive-169.jpg”,”top”:900,”mini1x1″:”width”:120,”form”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/property/210528162937-kim-kardashin-file-cnne-little-11.jpg”,”top”:120,autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImplif (CNN.autoPlayVideoExist === false) autoStartVideo = trueautoStartVideo = typeof CNN.isLoggedInVideoCheck === ‘function’ ? CNN.isLoggedInVideoCheck(autoStartVideo) : autoStartVideoif (autoStartVideo === true) if (turnOnFlashMessaging === true) autoStartVideo = falsecontainerEl = jQuery(doc.getElementById(configObj.markupId))CNN.VideoPlayer.showFlashSlate(containerEl) else CNN.autoPlayVideoExist = trueconfigObj.autostart = CNN.Functions.enableAutoplayBlock ? false : autoStartVideoCNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled)CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId)videoEndSlateImpl = new CNN.VideoEndSlate(‘large-media_0’)operate findNextVideo(currentVideoId) var i,vidObjif (currentVideoId && jQuery.isArray(currentVideoCollection) && currentVideoCollection.duration > ) for (i = i ) videoEndSlateImpl.showEndSlateForContainer()if (mobilePinnedView) mobilePinnedView.disable()callbackObj = {onPlayerReady: operate (containerId) {var playerInstance,containerClassId = ‘#’ + containerIdCNN.VideoPlayer.handleInitialExpandableVideoState(containerId)CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible())if (CNN.Functions.enableMobileWebFloatingPlayer &&Modernizr &&(Modernizr.phone || Modernizr.cell || Modernizr.pill) &&CNN.VideoPlayer.getLibraryName(containerId) === ‘fave’ &&jQuery(containerClassId).moms and dads(‘.js-pg-rail-tall__head’).duration > &&CNN.contentModel.pageType === ‘article’) CNN.Videx.cell = CNN.Videx.cell if (Modernizr && !Modernizr.phone && !Modernizr.cell && !Modernizr.pill) if (jQuery(containerClassId).moms and dads(‘.js-pg-rail-tall__head’).duration) videoPinner = new CNN.VideoPinner(containerClassId)videoPinner.init() else CNN.VideoPlayer.hideThumbnail(containerId)},onContentEntryLoad: operate(containerId, playerId, contentid, isQueue) CNN.VideoPlayer.showSpinner(containerId),onContentPause: operate (containerId, playerId, videoId, paused) if (mobilePinnedView) CNN.VideoPlayer.handleMobilePinnedPlayerStates(containerId, paused),onContentMetadata: operate (containerId, playerId, metadata, contentId, duration, width, top) var endSlateLen = jQuery(doc.getElementById(containerId)).parent().find(‘.js-video__stop-slate’).eq().lengthCNN.VideoSourceUtils.updateSource(containerId, metadata)if (endSlateLen > ) videoEndSlateImpl.fetchAndShowRecommendedVideos(metadata),onAdPlay: operate (containerId, cvpId, token, manner, id, duration, blockId, adType) /* Dismissing the pinnedPlayer if one more video gamers plays an Advertisement */CNN.VideoPlayer.dismissMobilePinnedPlayer(containerId)clearTimeout(moveToNextTimeout)CNN.VideoPlayer.hideSpinner(containerId)if (Modernizr && !Modernizr.phone && !Modernizr.cell && !Modernizr.pill) if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) videoPinner.setIsPlaying(true)videoPinner.animateDown(),onAdPause: operate (containerId, playerId, token, manner, id, duration, blockId, adType, occasion, isAdPause) if (mobilePinnedView) CNN.VideoPlayer.handleMobilePinnedPlayerStates(containerId, isAdPause),onTrackingFullscreen: operate (containerId, PlayerId, dataObj) CNN.VideoPlayer.handleFullscreenChange(containerId, dataObj)if (mobilePinnedView &&typeof dataObj === ‘object’ &&FAVE.Utils.os === ‘iOS’ && !dataObj.fullscreen) jQuery(doc).scrollTop(mobilePinnedView.getScrollPosition())playerInstance.hideUI(),onContentPlay: operate (containerId, cvpId, celebration) var playerInstance,prevVideoIdif (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.companion.updateCompanionLayout(‘restoreEpicAds’)clearTimeout(moveToNextTimeout)CNN.VideoPlayer.hideSpinner(containerId)if (Modernizr && !Modernizr.phone && !Modernizr.cell && !Modernizr.pill) if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) videoPinner.setIsPlaying(true)videoPinner.animateDown(),onContentReplayRequest: operate (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.phone && !Modernizr.cell && !Modernizr.pill) if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) videoPinner.setIsPlaying(true)var $endSlate = jQuery(doc.getElementById(containerId)).parent().find(‘.js-video__stop-slate’).eq()if ($endSlate.duration > ) $endSlate.removeClass(‘video__stop-slate–active’).addClass(‘video__stop-slate–inactive’)},onContentBegin: operate (containerId, cvpId, contentId) if (mobilePinnedView) mobilePinnedView.enable()/* Dismissing the pinnedPlayer if one more video gamers plays a video. */CNN.VideoPlayer.dismissMobilePinnedPlayer(containerId)CNN.VideoPlayer.mutePlayer(containerId)if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.companion.updateCompanionLayout(‘removeEpicAds’)CNN.VideoPlayer.hideSpinner(containerId)clearTimeout(moveToNextTimeout)CNN.VideoSourceUtils.clearSource(containerId)jQuery(doc).triggerVideoContentStarted(),onContentComplete: operate (containerId, cvpId, contentId) if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) CNN.companion.updateCompanionLayout(‘restoreFreewheel’)navigateToNextVideo(contentId, containerId),onContentEnd: operate (containerId, cvpId, contentId) if (Modernizr && !Modernizr.phone && !Modernizr.cell && !Modernizr.pill) if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) videoPinner.setIsPlaying(false),onCVPVisibilityChange: operate (containerId, cvpId, seen) CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, seen)}if (typeof configObj.context !== ‘string’ || configObj.context.duration ) configObj.adsection = window.ssidCNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : falseCNN.VideoPlayer.getLibrary(configObj, callbackObj, isLivePlayer)})CNN.INJECTOR.scriptComplete(‘videodemanddust’)
More Stories
The German Royal Family’s Taste in Engagement Rings: A Style Guide
Things to Know Before Choosing a Fantasy Book Cover Design
How to Improve Your Home’s Layout with Bathroom and Basement Remodels