Synamate™ Help Center
Get Your Free Trial Here
  • 👋Welcome to Synamate!
  • 🆕Changelog
  • Synamate Modules
    • Dashboard
    • Conversations [Team Inbox]
      • Manual Actions
      • Conversation Templates
      • Trigger Links
    • Calendars (Appointments)
      • Creating Calendars
        • Calendar Availability
        • Forms & Payments
        • Notifications & Additional Options
        • Calendar Customizations
      • Calendar Settings
      • Calendar Groups
      • Calendar Dashboards
      • Automatic emails for appointments
      • Appointments Management
      • Other Tutorials for Calendars
        • Changing Team Member Availability
        • Change Meeting Location
        • Simple Calendar - Sync Options
    • Contacts (CRM)
      • Import & Export Contacts
      • Tags
      • Smart Lists
      • Tasks
      • Custom Fields
      • Company
    • Pipelines (Opportunities)
    • Payments
      • 🧾Invoices
      • 📃Documents & Contracts
      • 🔗Payment Links
      • 📦Products
      • 🎟️Coupons
      • ⚙️Payment Settings
      • 💳Payment Gateway Integrations
    • Marketing
      • Social Planner
      • Emails (Email Marketing)
      • Trigger Links
      • Brand Boards
    • Automation
      • Premium Triggers and Actions
    • Sites
      • Funnels
      • Websites
      • Funnel/Website Builder
      • Blogs
      • Client Portal
      • Forms
      • Surveys
      • Chat Widget
      • URL Redirects
      • Domains
    • Memberships
      • Courses
      • Communities
        • Creating a Community in Synamate
        • More Info
      • Certificates
    • Media Storage
    • Reputation
    • Reporting
      • Facebook Pixel Setup
      • Facebook Conversion API Setup
      • Facebook Reporting
    • Settings
      • Business Profile
      • My Profile
      • Company Billing
      • My Staff
      • Calendars (Settings)
      • Phone Numbers
      • Reputation Management
      • Custom Fields
      • Custom Values *
      • Domains
      • URL Redirects
      • Integrations
        • Zoom Integration
      • Email Services
        • Achieving Email Compliance in 2024
      • Tags
      • Labs
      • Audit Logs
    • Custom Values
    • Synamate Payments
    • Media
  • How To Tutorials
    • How to Setup your VSL Funnel in Synamate
    • How to Setup your Webinar Funnel in Synamate
    • How to Create a form with Conditional Logic
    • How to Access LMS from mobile (For Students)
    • How to Show/Hide Elements on your Landing Page
    • How to Add a form inside a Video Using Synamate
    • Connect your Facebook Lead form with Synamate
    • Add a new Sales Closer to your Synamate account
    • UTM Parameters
    • Youtube Play Button on Hosted Videos
    • Email Sequences
    • Delay Elements - Wistia & Vimeo
    • Setting up Home Page for Domain
    • Upload Favicon (Site Icon)
  • Whatsapp (AppsMeet Integration)
    • Introduction & Pricing
    • Step 1 - Signup for WA Business and add a Phone Number
    • Step 2 - Create Templates
    • Step 3 - Verify your Meta Business Manager
    • Step 4 - Linking your Appsmeet with Synamate account
    • Step 5 - How to send WA Messages through Synamate
    • WhatsApp Tutorials
Powered by GitBook
On this page
  • For Wistia Hosted Videos:
  • For Vimeo Hosted Videos:

Was this helpful?

  1. How To Tutorials

Delay Elements - Wistia & Vimeo

How to delay any element in Synamate page until the user reaches a certain point in the embedded video

PreviousEmail SequencesNextSetting up Home Page for Domain

Last updated 11 months ago

Was this helpful?

For Wistia Hosted Videos:

Script:

<script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            var button = document.getElementById('PASTE-ELEMENT-ID-HERE-REMOVE-#');
            button.style.display = 'none';
            window._wq = window._wq || [];
            _wq.push({ id: "PASTE-VIDEO-ID-HERE", onReady: function(video) {
                video.bind('timechange', function(time) {
                    if (time >= 600) {
                        button.style.display = 'block';
                    }
                });
            }});
        });
</script>

Use Case:

VSL Pages - If you have a vsl page, you can delay a button to get qualified appointments/purchases. You would want your viewers/leads to see the video atleast to a point right?

For Vimeo Hosted Videos:

Copy paste this below script in Code Element in Synamate under the Wistia video.

This script only works for Vimeo Video.

<script> 
  document.addEventListener('DOMContentLoaded', function() {
  function getVimeoID(iframe) {
    var src = iframe.getAttribute('src');
    var match = src.match(/video\/(\d+)/);
    return match ? match[1] : null;
  }

  var iframes = document.querySelectorAll('iframe');

  var targetVideoID = 'PASTE-VIDEO-ID-HERE'; //Enter the video ID

  iframes.forEach(function(iframe) {
    var videoID = getVimeoID(iframe);

    if (videoID === targetVideoID) {
      var player = new Vimeo.Player(iframe);

      var button = document.getElementById('PASTE-BUTTON-ID-HERE-REMOVE-#');
      button.style.display = 'none';

      player.on('timeupdate', function(data) {
        if (data.seconds >= 600) { // Change time here
          button.style.display = 'block';
        }
      });
    }
  });
});

</script>