Skip to main content

Build on top of the player. Fully.

Whether you're a developer building a custom video product or a media team wiring up analytics, the VideoNest Player API gives you complete control — playback commands, event callbacks, state queries, and cross-frame messaging. No limits on what you can build.

player-api.js
const player = VideoNest.player('video-123');

// Subscribe to events
player.on('play', () => {
  analytics.track('video_play');
});
player.on('ended', () => showNextVideo());

// Control playback
player.seek(30);
player.setVolume(0.5);

// Read state
const t = player.currentTime;
Event log
play video-123 00:00.000
timeupdate currentTime: 5.2 00:05.200
seek 30 → seeked 00:30.000
pause currentTime: 47.1 00:47.100

The full API surface, no access restrictions

Playback

Complete playback control

play(), pause(), seek(t), setVolume(v), setMuted(bool), requestFullscreen(). The full control set, callable from your JavaScript at any time.

Events

Event callbacks

Subscribe to play, pause, ended, progress, timeupdate, error, and ad_start / ad_end. Fire analytics, trigger UI, or load the next video.

State

State queries

Read currentTime, duration, buffered, muted, volume, and paused at any point. Build custom progress bars, overlays, or chapter navigation on top of the player.

Cross-Frame

postMessage API

For iframe embeds, VideoNest supports postMessage control: send commands and receive events across frame boundaries. Works in page builders and sandboxed environments.

Build with video. Not around it.

VideoNest provides player APIs so developers control playback, track events, and integrate players into custom products. Full access. Your code.