Vidyard Embed Test

Platform: Vidyard

Testing: Vidyard v4 embed API detection and event tracking

Video Information

UUID: 8ccB9WGf5ZcpHMhxdrTqMz

Title: Vidyard Demo Video

Embed Type: Image-to-player (v4 embed)

SDK Detection: Looks for window.VidyardV4 or window.Vidyard global objects, iframe patterns matching play.vidyard.com, or elements with .vidyard-player-embed / [class*="vidyard"]

Vidyard JavaScript API

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'); });
  });

Simulate Lead Capture

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 })