web/themes/custom/wildlife_trust/assets/js/wildlife_trust.behavior.headline-hero-videos.vimeo.js
// Check if the video is autoplaying.
Check if the video is autoplaying.
Check if the video is autoplaying .
function videoWillAutoplay(video, vimeo) {
            if (videoState === 1) {
              $('#' + video).closest('.paragraph--type--headline-hero').addClass('has--video');
            }
            else {
              vimeo.unload();
            }
          }
function videoWillAutoplay ( video , vimeo ) { if ( videoState === 1 ) { $ ( '#' + video ) . closest ( '.paragraph--type--headline-hero' ) . addClass ( 'has--video' ) ; } else { vimeo . unload ( ) ; } }
Check if the video is autoplaying.
Check if the video is autoplaying .