');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-wg28e4',videoDescriptionDivId: 'js-video_description-wg28e4',videoDurationDivId: 'js-video_duration-wg28e4',videoTitleDivId: 'js-leaf-video_headline-wg28e4'});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('
' + showDetailsSpanContent + '');} else {$showName.html(showDetailsSpanContent);}});});if (typeof (history) !== 'undefined' && typeof (history.replaceState) !== 'undefined') {history.replaceState('', '', videocardContents.url);document.title = videocardContents.headlineText ? decodeURI(videocardContents.headlineText) : '';}}function getCurrentVideoCardContents(currentVideoId) {var containerContents = [{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Harry Potter is taking the magic from the big screen to the London stage in a new play which explores his life as a grown-up."],"descriptionPlainText":"Harry Potter is taking the magic from the big screen to the London stage in a new play which explores his life as a grown-up.","headlinePostText":"","headlinePreText":"","headlineText":"First look at 'Harry Potter & the Cursed Child' cast","headlinePlainText":"First look at 'Harry Potter & the Cursed Child' cast","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"harry potter play cast revealed intv_00004929.jpg","imageAlt":"harry potter play cast revealed intv_00004929","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnn next/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160601012308-harry-potter-play-cast-revealed-intv-00004929-small-11.jpg"}},"responsiveImage":true}}," overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/entertainment/2016/06/01/harry-potter-play-cast-revealed-intv.cnn","width":"","height":"","videoCMSUri":"/videos/entertainment/2016/06/01/harry-potter-play-cast-revealed-intv.cnn","videoId":"entertainment/2016/06/01/harry-potter-play-cast-revealed-intv.cnn","dateCreated":"12:57 AM ET, Wed June 1, 2016","sourceName":"CNN","sourceLink":"www.cnn.com"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["The author scribbles four new stories to prepare fans for the new film. "],"descriptionPlainText":"Th e author scribbles four new stories to prepare fans for the new film.","headlinePostText":"","headlinePreText":"","headlineText":"J.K. Rowling is magically stirring up fans again","headlinePlainText":"J.K. Rowling is magically stirring up fans again","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"pottermore 4 stories orig_00003011.jpg","imageAlt":"pottermore 4 stories orig_00003011","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-medium- plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160309143646-pottermore-4-stories-orig-00003011-small-11.jpg"}},"responsiveImage":true},"duration":"1:00"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType ":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tv/2016/03/09/pottermore-4-stories-orig.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tv/2016/03/09/pottermore-4-stories-orig.cnn/index.xml","videoId":"tv/2016/03/09/pottermore-4-stories-orig.cnn","dateCreated":"9:04 AM ET, Wed March 9, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["JK Rowling's old chair that she used to write the first two Harry Potter novels in her Edinburgh council flat was sold for $400,000 at a New York auction"],"descriptionPlainText":"JK Rowlin g's old chair that she used to write the first two Harry Potter novels in her Edinburgh council flat was sold for $400,000 at a New York auction","headlinePostText":"","headlinePreText":"","headlineText":"The $400,000 Harry Potter chair JK Rowling wrote on","headlinePlainText":"The $400,000 Harry Potter chair JK Rowling wrote on","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-medium-plus-169.jpg"},"small":{"he ight":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407115757-real-chair-tease-still-small-11.jpg"}},"responsiveImage":true},"duration":"1:06"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState": "","type":"card","url":"/videos/world/2016/04/07/jk-rowling-harry-potter-chair-sold-auction-400000-dollars-orig.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2016/04/07/jk-rowling-harry-potter-chair-sold-auction-400000-dollars-orig.cnn/index.xml","videoId":"world/2016/04/07/jk-rowling-harry-potter-chair-sold-auction-400000-dollars-orig.cnn","dateCreated":"6:51 AM ET, Thu April 7, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Five years in the making, the Wizarding World of Harry Potter comes to Universal Hollywood. CNN's Stephanie Elam takes us on a tour."],"descriptionPlainText ":"Five years in the making, the Wizarding World of Harry Potter comes to Universal Hollywood. CNN's Stephanie Elam takes us on a tour.","headlinePostText":"","headlinePreText":"","headlineText":"Harry Potter attraction opens at Universal Hollywood","headlinePlainText":"Harry Potter attraction opens at Universal Hollywood","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"harry potter world hollywood elam pkg_00012601.jpg","imageAlt":"harry potter world hollywood elam pkg_00012601","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-small-169.jpg"},"xsmall":{"height":173,"width":3 07,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-elam-pkg-00012601-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160407033220-harry-potter-world-hollywood-ela m-pkg-00012601-small-11.jpg"}},"responsiveImage":true},"duration":"2:19"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tv/2016/04/07/harry-potter-world-hollywood-elam-pkg.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tv/2016/04/07/harry-potter-world-hollywood-elam-pkg.cnn/index.xml","videoId":"tv/2016/04/07/harry-potter-world-hollywood-elam-pkg.cnn","dateCreated":"2:45 AM ET, Thu April 7, 2016","sourceName":"CNN","sourceLink":"http://www.cnn.com","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName": "video","contentType":"","cta":"share","descriptionText":["Alan Rickman, the British actor who played the brooding Professor Severus Snape in the \"Harry Potter\" films years after his film debut as the \"Die Hard\" villain Hans Gruber, has died after a short battle with cancer, a source familiar with his career said."],"descriptionPlainText":"Alan Rickman, the British actor who played the brooding Professor Severus Snape in the \"Harry Potter\" films years after his film debut as the \"Die Hard\" villain Hans Gruber, has died after a short battle with cancer, a source familiar with his career said.","headlinePostText":"","headlinePreText":"","headlineText":"Alan Rickman's most memorable characters","headlinePlainText":"Alan Rickman's most memorable characters","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"Still of Alan Rickman in Harry Potter and the Or der of the Phoenix (2007)","imageAlt":"Still of Alan Rickman in Harry Potter and the Order of the Phoenix (2007)","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickm an-snape-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151127101028-01-alan-rickman-snape-small-11.jpg"}},"responsiveImage":true},"duration":"1:30"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/entertainment/2016/01/14/alan-rickman-memorable-characters-orig-vstan.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/entertainment/2016/01/14/alan-rickman-memorable-characters-orig-vstan.cnn/index.xml","videoId":"entertainment/2016/01/14/alan-rickman-memorable-characters-orig-vstan.cnn","dateCreated":"9:46 AM ET, Thu January 14, 2016","s ourceName":"CNN","sourceLink":"http://www.cnn.com","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Alan Rickman, who had memorable roles as Snape in \"Harry Potter\" films and the Hans Gruber in \"Die Hard,\" dies at the age of 69. CNN's Erin McLaughlin reports."],"descriptionPlainText":"Alan Rickman, who had memorable roles as Snape in \"Harry Potter\" films and the Hans Gruber in \"Die Hard,\" dies at the age of 69. CNN's Erin McLaughlin reports.","headlinePostText":"","headlinePreText":"","headlineText":"'Harry Potter' actor Alan Rickman dies","headlinePlainText":"'Harry Potter' actor Alan Rickman dies","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kick erText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"Alan Rickman memorable characters orig vstan_00012622.jpg","imageAlt":"Alan Rickman memorable characters orig vstan_00012622","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-large-169.jpg"},"medium":{"height":438,"width ":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160114113803-alan-rickman-memorable-characters-orig-vstan-00012622-small-11.jpg"}},"responsiveImage":true},"duration":"2:02"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tv/2016/01/ 15/alan-rickman-obit.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tv/2016/01/15/alan-rickman-obit.cnn/index.xml","videoId":"tv/2016/01/15/alan-rickman-obit.cnn","dateCreated":"7:27 PM ET, Thu January 14, 2016","sourceName":"CNN","sourceLink":"http://edition.cnn.com","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["See a young Daniel Radcliffe audition for the \"Harry Potter\" role that made him a household name."],"descriptionPlainText":"See a young Daniel Radcliffe audition for the \"Harry Potter\" role that made him a household name.","headlinePostText":"","headlinePreText":"","headlineText":"Watch Radcliffe nail his 'Harry Potter' audition","headlinePlainText":"Watch Radcliffe nail his 'Harry Potter' audition","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe -audition-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/151204133230-radcliffe-audition-small-11.jpg"}},"responsiveImage":true},"duration":"1:01"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/entertainment/2015/12/04/radcliffe-harry-potter-audition-orig-vstan.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/entertainment/2015/12/04/radcliffe-harry-potter-audition-orig-vstan.cnn/index.xm l","videoId":"entertainment/2015/12/04/radcliffe-harry-potter-audition-orig-vstan.cnn","dateCreated":"12:50 PM ET, Fri December 4, 2015","sourceName":"CNN","sourceLink":"http://www.cnn.com/","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Harry Potter author J.K .Rowling revealed the correct pronunciation of 'Voldemort' in a tweet to her followers."],"descriptionPlainText":"Harry Potter author J.K .Rowling revealed the correct pronunciation of 'Voldemort' in a tweet to her followers.","headlinePostText":"","headlinePreText":"","headlineText":"Author J.K. Rowling reveals 'Voldemort' pronunciation","headlinePlainText":"Author J.K. Rowling reveals 'Voldemort' pronunciation","ic onImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"jk rowling reveals voldemort prono mann idesk_00001016.jpg","imageAlt":"jk rowling reveals voldemort prono mann idesk_00001016","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort -prono-mann-idesk-00001016-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150910112831-jk-rowling-reveals-voldemort-prono-mann-idesk-00001016-small-11.jpg"}},"responsiveImage":true},"duration":"0:45"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModi fiedText":"","lastModifiedState":"","type":"card","url":"/videos/world/2015/09/10/jk-rowling-reveals-voldemort-prono-mann-idesk.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/world/2015/09/10/jk-rowling-reveals-voldemort-prono-mann-idesk.cnn/index.xml","videoId":"world/2015/09/10/jk-rowling-reveals-voldemort-prono-mann-idesk.cnn","dateCreated":"11:17 AM ET, Thu September 10, 2015","sourceName":"CNN","sourceLink":"http://edition.cnn.com/","showName":"International Desk","showUrl":"/shows/international-desk","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["The \"Harry Potter\" star filled in as Nylon magazine's receptionist and so me people had no idea who he was."],"descriptionPlainText":"The \"Harry Potter\" star filled in as Nylon magazine's receptionist and some people had no idea who he was.","headlinePostText":"","headlinePreText":"","headlineText":"Daniel Radcliffe plays receptionist for an hour","headlinePlainText":"Daniel Radcliffe plays receptionist for an hour","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"Daniel Radcliffe Receptionist Daily Hit NewDay_00010130.jpg","imageAlt":"Daniel Radcliffe Receptionist Daily Hit NewDay_00010130","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newda y-00010130-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type ":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/150717081758-daniel-radcliffe-receptionist-daily-hit-newday-00010130-small-11.jpg"}},"responsiveImage":true},"duration":"1:37"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tv/2015/07/17/daniel-radcliffe-receptionist-daily-hit-newday.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tv/2015/07/17/daniel-radcliffe-receptionist-daily-hit-newday.cnn/index.xml","videoId":"tv/2015/07/17/daniel-radcliffe-receptionist-daily-hit-newday.cnn","dateCreated":"6:52 AM ET, Fri July 17, 2015","sourceName":"CNN","sourceLink":"http://www.cnn.com/shows/new-day","showName":"New Day","showUrl":"/shows/new-day","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false, "type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Author J.K. Rowling reveals Harry Potter secrets online. CNN's Christina Macfarlane reports. "],"descriptionPlainText":"Author J.K. Rowling reveals Harry Potter secrets online. CNN's Christina Macfarlane reports.","headlinePostText":"","headlinePreText":"","headlineText":"Rowling reveals Harry Potter secrets ","headlinePlainText":"Rowling reveals Harry Potter secrets ","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-story-top.jpg","label":"","galleryTitle":"","head":"","cuts" :{"mini":{"type":"JPG","width":256,"height":144,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-hp-video.jpg"},"xsmall":{"type":"JPG","width":300,"height":169,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-story-body.jpg"},"small":{"type":"JPG","width":640,"height":360,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-story-top.jpg"},"medium":{"type":"JPG","width":980,"height":552,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-horizontal-large-gallery.jpg"},"large":{"type":"JPG","width":980,"height":552,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-horizontal-large-gallery.jpg"},"full16x9":{"type":"JPG","width":980,"height":552,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry -potter-and-the-deathly-hallows-pt-2-horizontal-large-gallery.jpg"},"mini1x1":{"type":"JPG","width":60,"height":60,"uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/111025101617-harry-potter-and-the-deathly-hallows-pt-2-topics.jpg"}},"responsiveImage":true},"duration":"1:59"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/showbiz/2014/12/25/ct-dnt-macfarlane-harry-potter-secrets-revealed.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/showbiz/2014/12/25/ct-dnt-macfarlane-harry-potter-secrets-revealed.cnn/index.xml","videoId":"showbiz/2014/12/25/ct-dnt-macfarlane-harry-potter-secrets-revealed.cnn","dateCreated":"8:37 PM ET, Wed December 24, 2014","sourceName":"CNN","sourceLink":"http://edition.cnn.com","videoCollectionUrl":"/video/playlists/harry-p otter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Harry Potter fans got a Halloween treat when author JK Rowling posted a new tale on her website. Mary Moloney explains."],"descriptionPlainText":"Harry Potter fans got a Halloween treat when author JK Rowling posted a new tale on her website. Mary Moloney explains.","headlinePostText":"","headlinePreText":"","headlineText":"Halloween treat for Harry Potter fans","headlinePlainText":"Halloween treat for Harry Potter fans","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"pkg moloney pottermore revealed_00000211.jpg","imageAlt":"pkg moloney pottermor e revealed_00000211.jpg","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-story-top.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":144,"width":256,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-hp-video.jpg"},"xsmall":{"height":169,"width":300,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-story-body.jpg"},"small":{"height":360,"width":640,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-story-top.jpg"},"medium":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-horizontal-large-gallery.jpg"},"large":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-p kg-moloney-pottermore-revealed-00000211-horizontal-large-gallery.jpg"},"full16x9":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-horizontal-large-gallery.jpg"},"mini1x1":{"height":60,"width":60,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/141101030331-pkg-moloney-pottermore-revealed-00000211-topics.jpg"}},"responsiveImage":true},"duration":"1:50"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/showbiz/2014/11/01/pkg-moloney-pottermore-revealed.cnn/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/showbiz/2014/11/01/pkg-moloney-pottermore-revealed.cnn/index.xml","videoId":"showbiz/2014/11/01/pkg-moloney-pottermore-revealed.cnn","dateCreated" :"2:43 AM ET, Sat November 1, 2014","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Actors tour the new addition to \"The Wizarding World of Harry Potter,\" which opens to the public in July 2014. "],"descriptionPlainText":"Actors tour the new addition to \"The Wizarding World of Harry Potter,\" which opens to the public in July 2014.","headlinePostText":"","headlinePreText":"","headlineText":"Harry Potter's Diagon Alley sneak peek","headlinePlainText":"Harry Potter's Diagon Alley sneak peek","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","e lementContents":{"caption":"pkg Harry Potter World Diagon Alley_00003712.jpg","imageAlt":"pkg Harry Potter World Diagon Alley_00003712.jpg","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-story-top.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":144,"width":256,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-hp-video.jpg"},"xsmall":{"height":169,"width":300,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-story-body.jpg"},"small":{"height":360,"width":640,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-story-top.jpg"},"medium":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-horizont al-large-gallery.jpg"},"large":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-horizontal-large-gallery.jpg"},"full16x9":{"height":552,"width":980,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-horizontal-large-gallery.jpg"},"mini1x1":{"height":60,"width":60,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/140619121611-pkg-harry-potter-world-diagon-alley-00003712-topics.jpg"}},"responsiveImage":true},"duration":"1:21"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/showbiz/2014/06/19/pkg-harry-potter-world-diagon-alley.wkmg/video/playlists/harry-potter/","width":"","height":"","videoCMSUri":"/video/data/3.0/ video/showbiz/2014/06/19/pkg-harry-potter-world-diagon-alley.wkmg/index.xml","videoId":"showbiz/2014/06/19/pkg-harry-potter-world-diagon-alley.wkmg","dateCreated":"10:25 AM ET, Thu June 19, 2014","sourceName":"WKMG","sourceLink":"http://www.clickorlando.com/","videoCollectionUrl":"/video/playlists/harry-potter/"},"contentType":"video","maximizedBanner":false,"type":"card"}],cardContents;for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {nextPlay = currentVideoCollection[getNextVideoIndex(currentVideoId)].videoId;if (nextPlay === undefined || nextPlay === null) {nextPlay = currentVideoCollection[0].videoId;}moveToNextTimeout = setTimeout(function () {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, {videoCollection: currentVideoCollection});}, nextVideoPlayTimeout);}}var decorateVideoApi = function(){/* if this happens before the video API loads it gets deleted. */CNN.VideoPlayer.showSpinner = function showSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(('spinner_' + containerId).replace('#', ''))).show();}};CNN.VideoPlayer.hideSpinner = function hideSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(('spinner_' + containerId).replace('#', ''))).hide();}};CNN.VideoPlayer.hideThumbnail = function hideThumbnail(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(containerId + '--thumbnail')).hide();}};};callbackObj = {onPlayerReady: function (containerId) {CNN.INJECTOR.getNameSpaceFeature('CNN.VideoPlayer.showSpinner').fail(decorateVideoApi);var containerClassId;CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());if (Modern izr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {containerClassId = '#' + containerId;if (jQuery(containerClassId).parents('.js-pg-rail-tall__head').length > 0) {videoPinner = new CNN.VideoPinner(containerClassId);videoPinner.setIsVideoCollection(true);videoPinner.init();} else {CNN.VideoPlayer.hideThumbnail(containerId);}}},onContentEntryLoad: function(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adroll', configObj.video]);}if (blockId === 0) {(new Image()).src = "http://traffic.outbrain.com/network/trackpxl?advid=814&action=view";}CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== 'undefined' && amp; videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.handleOnVideoPlay();videoPinner.animateDown();}}},onAdEnd: function (containerId, cvpId, token, mode, id, blockId, adType) {/* Add VisualRevenue event on video ad stop */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adstop', configObj.video]);}},onContentPlay: function (containerId, cvpId, contentId) {/** When the video content starts playing, the companion ad* layout (if it was set when the ad played) should switch* back to epic ad layout. onContentPlay calls updateCompanionLayout* with 'restoreEpicAds' layout to make this switch and removes FW* with 'removeFreewheel' so you don't see double ads. If a user* clicks another video midway, onContentBegin will add FW back*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeFreewheel');CNN.companion.updateCompanionLayout('restoreEpicAds');}clearTimeout(moveToNextTimeout);CN N.VideoPlayer.hideSpinner(containerId);/* Add VisualRevenue event on video start */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'play', configObj.video]);}var idx,cvp = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '';if (cvp && typeof cvp.reportAnalytics === 'function') {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(/\/videos\//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)\:\/\/[^\/]\/videos\/(.+\.\w+)(?:\/video\/playlists\/.*)?$/, '/video/$1');if (prevVideoId === document.referrer) {prevVideoId = '';}}if (jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {idx = getNextVideoIndex(contentId);nextVideoId = currentVideoCollection[idx].videoId;nextVideoUrl = currentVideoCollection[idx]. videoUrl;currentVideoCollectionId = (window.jsmd && window.jsmd.v && window.jsmd.v.eVar60) || nextVideoUrl.replace(/^.+\/video\/playlists\/(.+)\//, '$1');}cvp.reportAnalytics('videoPageData', {videoCollection: currentVideoCollectionId,videoBranding: CNN.omniture.branding_content_page,templateType: CNN.omniture.template_type,nextVideo: nextVideoId,previousVideo: prevVideoId,referrerType: '',referrerUrl: document.referrer});}if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== 'undefined' && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.handleOnVideoPlay();videoPinner.animateDown();}}},onContentReplayRequest: function (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== 'undefined' && videoPinner !== null) {videoPinner.setIsPlaying(true);var $endSlate = jQuery(document.getElementById(containerId)).parent().find('.js-video__end-slate').eq(0);if ($endSlate.length > 0) {$endSlate.removeClass('video__end-slate--active').addClass('video__end-slate--inactive');}}}},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {if (typeof metadata === 'string' && metadata.length > 0) {try {CNN.Videx.EmbedButton.updateCode(JSON.parse(metadata));} catch (e) {console.log('Invalid video metadata JSON.');}}},onContentBegin: function (containerId, cvpId, contentId) {/** Before the video ad starts, the freewheel companion ad* html needs to be placed on the page so that it can be* triggered by Freewheel to display the companion ad.* onContentBegin triggers updateCompanionLayout which* handles the logic to switch from epic to companion ads*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.up dateCompanionLayout('restoreFreewheel');}clearTimeout(moveToNextTimeout);updateCurrentlyPlaying(contentId);},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/* Add VisualRevenue event on video end */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'stop', configObj.video]);}/** When the video content ends playing, remove the epic ad* and prepare the freewheel companion ad for the next video*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === 'function') {CNN.companion.updateCompanionLayout('removeEpicAds');CNN.companion.updateCompanionLayout('restoreFreewheel');}navigateToNextVideo(contentId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== 'undefined' && videoPinner !== null) {videoPinner.setIsPlaying(false);}}},onCVPVisibilityChange: function (containerId, cv pId, visible) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, visible);}};if (typeof configObj.context !== 'string' || configObj.context.length
Source ↔
Download MP3 Free