Unified Video Proxy Server v2.0.0
Full-featured player with custom controls, progress tracking, and 3rd party API.
Fast scraping with iframe/direct source support. Supports resumeAt and autoplay.
Control the player from external scripts:
// Direct API
window.VidProPlayer.getState() // Get current state
window.VidProPlayer.play() // Play
window.VidProPlayer.pause() // Pause
window.VidProPlayer.setProgress(50) // Set to 50%
window.VidProPlayer.seek(10) // Skip 10 seconds
// PostMessage (for iframes)
iframe.contentWindow.postMessage({ action: 'play' }, '*')
iframe.contentWindow.postMessage({ action: 'setProgress', progress: 50 }, '*')
// Listen for events
window.addEventListener('message', (e) => {
if (e.data.type === 'vidpro-progress') {
console.log('Progress:', e.data.state.progress + '%');
}
});