Great white shark swims under family’s boat on Cape Cod

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh’,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/190814100558-great-white-shark-cape-cod-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A family had a close encounter with a great white shark when it swam underneath their boat near Provincetown, Massachusetts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814100558-great-white-shark-cape-cod-large-169.jpg”,”title”:”Family films great white shark under boat on Cape Cod”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh”,”videoId”:”travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh”,”videoUrl”:”/videos/travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Ten-year-old Selah Schneiter is believed to be the youngest person to ever climb Yosemite National Park’s El Capitan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190619023917-10-year-old-girl-climbs-el-capitan-newsource-orig-vpx-00002107-large-169.jpg”,”title”:”10-year-old girl conquers Yosemite’s El Capitan”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/06/17/10-year-old-girl-climbs-el-capitan-newsource-orig-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/06/17/10-year-old-girl-climbs-el-capitan-newsource-orig-vpx.cnn”,”videoId”:”travel/2019/06/17/10-year-old-girl-climbs-el-capitan-newsource-orig-vpx.cnn”,”videoUrl”:”/videos/travel/2019/06/17/10-year-old-girl-climbs-el-capitan-newsource-orig-vpx.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Mist filled Delta Flight 100 while it was waiting to takeoff from Jacksonville, Florida, alarming those on board. Passengers say the flight crew gave little to no explanation as to what was going on. Delta said that since the incident was related to humidity it wasn’t required to report it to the FAA, according to CNN afilliate WCBS.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814114905-delta-plane-fills-with-mist-before-takeoff-dnt-vpx-00000204-large-169.jpg”,”title”:”Thick mist inside Delta plane left passengers wondering”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs”,”videoId”:”travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs”,”videoUrl”:”/videos/travel/2019/08/14/delta-plane-fills-with-mist-before-takeoff-dnt-vpx.wcbs/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Visitors delighted by an itchy grizzly bear at an Ohio zoo”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190813085645-itchy-grizzly-bear-gives-zoo-visitors-a-good-laugh-large-169.jpg”,”title”:”Grizzly takes care of its “bear necessities””,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/13/itchy-bear-trvl-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/13/itchy-bear-trvl-orig.cnn”,”videoId”:”travel/2019/08/13/itchy-bear-trvl-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/13/itchy-bear-trvl-orig.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”A flight attendant on a Southwest Airlines flight welcomed passengers onboard from the comfort of the overhead bin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190801112115-flight-attendant-in-overhead-large-169.jpg”,”title”:”Flight attendant greets passengers from overhead bin”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn”,”videoId”:”travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn”,”videoUrl”:”/videos/travel/2019/08/01/flight-attendant-greets-in-overhead-bin-orig-jk.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”James Williams just wanted to capture eagles feeding on fish on a beach in Canada. He got quite a surprise when one of the eagles took his GoPro and flew away.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190722115606-eagle-gopro-selfie-large-169.jpg”,”title”:”This eagle snatched a GoPro and took it for a ride”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/22/eagles-gopro-selfie-newssource-travel.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/22/eagles-gopro-selfie-newssource-travel.cnn”,”videoId”:”travel/2019/07/22/eagles-gopro-selfie-newssource-travel.cnn”,”videoUrl”:”/videos/travel/2019/07/22/eagles-gopro-selfie-newssource-travel.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Circle of Heroes is the nation’s first underwater veterans memorial, with 12 life-sized concrete statues. It’s one of several underwater attractions in Florida.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190807192638-circle-of-heroes-memorial-large-169.jpg”,”title”:”Dive underwater to see a memorial honoring veterans”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn”,”videoId”:”travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/07/first-underwater-veterans-memorial-florida-ya-orig.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”A human-sized jellyfish was spotted off the coast of Falmouth, England by a wildlife biologist.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190715144913-giant-jellyfish-large-169.jpg”,”title”:”Spotted: A giant jellyfish the size of a human”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn”,”videoId”:”travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn”,”videoUrl”:”/videos/travel/2019/07/15/giant-jellyfish-human-sized-kc-orig.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Colorado-based startup Molon Labe Seating is developing a staggered seating design for commercial airlines which they claim provides passengers with more room and larger seats.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190718123805-02-airplane-middle-seat-design-large-169.jpeg”,”title”:”No one wants the middle seat. This could change that.”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/19/airplane-middle-seat-startup-es-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/19/airplane-middle-seat-startup-es-vpx.cnn”,”videoId”:”travel/2019/07/19/airplane-middle-seat-startup-es-vpx.cnn”,”videoUrl”:”/videos/travel/2019/07/19/airplane-middle-seat-startup-es-vpx.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”A man who climbed onto the wing of a plane as it prepared for takeoff at the airport in Nigeria’s Lagos city has been arrested, authorities said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190719133557-man-climbs-plane-nigeria-intl-0719-large-169.jpg”,”title”:”A flight was about to depart when this happened … “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/21/nigeria-man-climbs-plane-vo-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/21/nigeria-man-climbs-plane-vo-vpx.cnn”,”videoId”:”world/2019/07/21/nigeria-man-climbs-plane-vo-vpx.cnn”,”videoUrl”:”/videos/world/2019/07/21/nigeria-man-climbs-plane-vo-vpx.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”A pair of pesky penguins broke into a sushi restaurant, were removed by officials and then decided to head back to the scene of the crime.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190719111557-penguins-break-into-sushi-restaurant-large-169.jpg”,”title”:”Penguins broke into a sushi restaurant again”,”videoCMSUrl”:”/video/data/3.0/video/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn”,”videoId”:”travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/07/19/penguins-break-into-sushi-restaurant-again-lon-orig.cnn/video/playlists/cnn-travel-top-news-stories/”},{“descriptionPlainText”:”Jerryne Mahele Nyota of Ottawa was shocked when her 71-year-old mother told her she was asked to share a hotel room with a stranger after both passengers missed their flight.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190726144513-air-canada-passengers-missed-flight-trnd0726-large-169.jpg”,”title”:”Strangers asked to share hotel room after missed flight”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/27/air-canada-passengers-missed-flight-asked-to-share-room-meade-mxp-sot-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/27/air-canada-passengers-missed-flight-asked-to-share-room-meade-mxp-sot-vpx.hln”,”videoId”:”world/2019/07/27/air-canada-passengers-missed-flight-asked-to-share-room-meade-mxp-sot-vpx.hln”,”videoUrl”:”/videos/world/2019/07/27/air-canada-passengers-missed-flight-asked-to-share-room-meade-mxp-sot-vpx.hln/video/playlists/cnn-travel-top-news-stories/”}],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:”travel/2019/08/14/family-encounters-great-white-shark-massachusetts-dnt-vpx.whdh”, 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-28kdfzd’,videoDescriptionDivId: ‘js-video_description-28kdfzd’,videoDurationDivId: ‘js-video_duration-28kdfzd’,videoTitleDivId: ‘js-leaf-video_headline-28kdfzd’,videoSourceDivId: ‘js-video_sourceName-28kdfzd’});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(‘

Great white shark swims under family’s boat on Cape Cod

Leave a Reply