Inside China’s biggest gadget market

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2018/11/21/china-shenzhen-tech-market.cnn-business’,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/181121105256-shenzhen-tech-market-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Most of the world’s consumer electronics are produced in the Chinese city of Shenzhen. CNN’s Matt Rivers tours the bustling shopping district Huaqiangbei with hardware hacker Andrew ‘Bunnie’ Huang.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181121105256-shenzhen-tech-market-large-169.jpg”,”title”:”Inside China’s biggest gadget market”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/11/21/china-shenzhen-tech-market.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/11/21/china-shenzhen-tech-market.cnn-business”,”videoId”:”business/2018/11/21/china-shenzhen-tech-market.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/11/21/china-shenzhen-tech-market.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”Steven Yang left a great job at Google to start his own company, Anker. It has become one of the fastest-growing smartphone accessory brands in Shenzhen. But as CNN’s Matt Rivers discovers, the speed with which you can launch a tech company in China also works for copycats.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181120095615-anker-china-large-169.jpg”,”title”:”Fast startup trend in China fosters copycat culture”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/11/20/china-startups-intellectual-property.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/11/20/china-startups-intellectual-property.cnn-business”,”videoId”:”business/2018/11/20/china-startups-intellectual-property.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/11/20/china-startups-intellectual-property.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”Forty years ago, Shenzhen was a poor fishing village on the southern coast of China. Today, it’s one of the fastest growing cities on the planet. CNN’s Matt Rivers explores the rise of China’s Silicon Valley where the country first experimented with the idea of free trade and foreign investment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181119100102-shenzhen-china-large-169.jpg”,”title”:”The rise of China’s ‘Silicon Valley'”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/11/19/shenzhen-china-innovation.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/11/19/shenzhen-china-innovation.cnn-business”,”videoId”:”business/2018/11/19/shenzhen-china-innovation.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/11/19/shenzhen-china-innovation.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”The world’s second biggest economy grew 6.5% in the third quarter of 2018. That’s its weakest quarterly growth since the depths of the global financial crisis in early 2009 and below economists’ expectations of 6.6%.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181018051343-02-china-economy-trade-file-restricted-large-169.jpg”,”title”:”China reports slowest growth since 2009″,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/10/19/china-economy-growth-q3.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/10/19/china-economy-growth-q3.cnn-business”,”videoId”:”business/2018/10/19/china-economy-growth-q3.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/10/19/china-economy-growth-q3.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”CNN’s Samuel Burke explains how Tencent is a bit like Facebook, Instagram, WhatsApp, Spotify and Snapchat all rolled into one.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924163247-pony-ma-tencent-business-thumbnail-large-169.jpg”,”title”:”What you need to know about Tencent”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/tencent-what-you-need-to-know-orig.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/24/tencent-what-you-need-to-know-orig.cnn-business”,”videoId”:”business/2018/09/24/tencent-what-you-need-to-know-orig.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/24/tencent-what-you-need-to-know-orig.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”Jack Ma has become arguably the most public face of China’s internet boom since he started e-commerce giant Alibaba 19 years ago.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180918053804-01-jack-ma-0917-large-169.jpg”,”title”:”How Jack Ma changed China”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/27/jack-ma-alibaba.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/27/jack-ma-alibaba.cnn-business”,”videoId”:”business/2018/09/27/jack-ma-alibaba.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/27/jack-ma-alibaba.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”The Chinese e-commerce giant is launching brick-and-mortar stores that combine online and offline shopping.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181003173940-hema-alibaba-business-video-card-large-169.jpg”,”title”:”You need an app to shop in Alibaba’s grocery stores”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/10/03/china-alibaba-hema-supermarkets-lon-orig.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/10/03/china-alibaba-hema-supermarkets-lon-orig.cnn-business”,”videoId”:”business/2018/10/03/china-alibaba-hema-supermarkets-lon-orig.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/10/03/china-alibaba-hema-supermarkets-lon-orig.cnn-business/video/playlists/business-china/”},{“descriptionPlainText”:”The trade fight between the United States and China intensified as the two economic superpowers hit each other with their biggest round of tariffs yet. CNN’s Steven Jiang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180717103755-gfx-trade-war-trump-usa-china-cracked-large-169.jpg”,”title”:”China retaliates after new US tariffs “,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/24/trump-us-china-trade-war-retaliation-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/trump-us-china-trade-war-retaliation-intv-nr-vpx.cnn”,”videoId”:”cnnmoney/2018/09/24/trump-us-china-trade-war-retaliation-intv-nr-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/trump-us-china-trade-war-retaliation-intv-nr-vpx.cnn/video/playlists/business-china/”},{“descriptionPlainText”:”Several of China and Hong Kong’s most powerful businessmen have mysteriously vanished and reappeared months later. Is the Chinese government the culprit?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170614185728-china-tycoons-vanish-large-169.jpg”,”title”:”China’s top executives keep disappearing”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2017/06/14/china-disappearing-tycoons-mxb-lon-orig.cnnmoney/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/06/14/china-disappearing-tycoons-mxb-lon-orig.cnnmoney”,”videoId”:”cnnmoney/2017/06/14/china-disappearing-tycoons-mxb-lon-orig.cnnmoney”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/06/14/china-disappearing-tycoons-mxb-lon-orig.cnnmoney/video/playlists/business-china/”}],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:”business/2018/11/21/china-shenzhen-tech-market.cnn-business”, 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-zjku0q’,videoDescriptionDivId: ‘js-video_description-zjku0q’,videoDurationDivId: ‘js-video_duration-zjku0q’,videoTitleDivId: ‘js-leaf-video_headline-zjku0q’,videoSourceDivId: ‘js-video_sourceName-zjku0q’});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(‘

Add a Comment

Your email address will not be published. Required fields are marked *