Platform: Vidyard
Testing: Vidyard v4 embed API detection and event tracking
UUID: 8ccB9WGf5ZcpHMhxdrTqMz
Title: Vidyard Demo Video
Embed Type: Image-to-player (v4 embed)
window.VidyardV4 or window.Vidyard global objects,
iframe patterns matching play.vidyard.com,
or elements with .vidyard-player-embed / [class*="vidyard"]
Vidyard provides a player API through VidyardV4:
// Wait for API to be ready
VidyardV4.api.getPlayersByUUID('8ccB9WGf5ZcpHMhxdrTqMz')
.then(function(players) {
var player = players[0];
player.on('play', function() { console.log('Playing'); });
player.on('pause', function() { console.log('Paused'); });
player.on('playerComplete', function() { console.log('Ended'); });
});
Vidyard lead forms are configured in the Vidyard dashboard.
The adapter listens for leadCreate events on the player.
Use these buttons to simulate lead capture.
// SDK method:
_ll.video.lead({ platform: 'vy', email: '...', video_id: '...' })
// Player event (what Vidyard fires internally):
// player.emit('leadCreate', { email, first_name, last_name })