Player API
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.
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;
Capabilities
The full API surface, no access restrictions
Complete playback control
play(), pause(), seek(t), setVolume(v), setMuted(bool), requestFullscreen(). The full control set, callable from your JavaScript at any time.
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 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.
postMessage API
For iframe embeds, VideoNest supports postMessage control: send commands and receive events across frame boundaries. Works in page builders and sandboxed environments.
More player features
More to build with in the VideoNest player
Autoplay & Sound
Set when and how video plays: muted defaults, browser-compliant autoplay, and sound-on for approved CTV placements.
Learn more →Branding Controls
Add your logo, set player colors, and remove platform watermarks. Fully white-labeled on Business plans.
Learn more →Captions & Transcripts
VideoNest Audio auto-generates WebVTT captions and word-level JSON transcripts from every uploaded video.
Learn more →Embed Options
One snippet for any CMS: WordPress, Webflow, Squarespace, or custom HTML. Fully responsive with per-placement overrides.
Learn more →Player Customization
Control colors, control bar layout, and playback behavior to match your brand at every placement.
Learn more →Vertical Video Player
Native 9:16 player format for mobile-first content, social embeds, and short-form video placements.
Learn more →