Wistia Embed Test

Platform: Wistia

Testing: Wistia E-v1.js API detection and event tracking

Video Information

Media ID: e4a27b971d

Title: Wistia Demo Video

Embed Type: Async embed with E-v1.js

SDK Detection: Looks for window.Wistia or window._wq global objects, iframe patterns matching wistia.com or wistia.net, or elements with .wistia_embed / [class*="wistia_async"]

Wistia JavaScript API

Wistia uses a queue-based API:

window._wq = window._wq || [];
_wq.push({ id: "e4a27b971d", onReady: function(video) {
  video.bind('play', function() { console.log('Playing'); });
  video.bind('pause', function() { console.log('Paused'); });
  video.bind('end', function() { console.log('Ended'); });
}});

Simulate Lead Capture (Turnstile)

Wistia Turnstile is configured in the Wistia dashboard — it can't be enabled via embed code alone. Use these buttons to simulate what happens when Turnstile captures a lead.

// SDK method path:
_ll.video.lead({ platform: 'wis', email: '...', video_id: 'e4a27b971d' })
// → emits: vle (video_lead) + pp (possible_person)

// Player event path (what Wistia Turnstile actually fires):
// adapter binds to 'turnstile-submit' → onLead → vle + pp