If your Native Video blocks aren’t autoplaying in the tabs, place this in your page header code injection area.


<script>
  document.addEventListener('wmTabs:ready', () => {
    const videos = document.querySelectorAll('[data-wm-plugin="tabs"] .sqs-block-video');
    videos.forEach(videoBlock => {
      const blockJSON = JSON.parse(videoBlock.dataset.blockJson);
      if (blockJSON && blockJSON.resolvedBy === 'native') {
        const video = videoBlock.querySelector('video');
        if (video && video.autoplay !== 'false') {
          video.play();
        }
      }
    })
  })
</script>
Previous
Previous

Pinned blocks aren't pinning