YouTube Auto-Update Test Page

✅ This test page verifies the YouTube auto-update feature is working correctly.

Latest Video (Main)

Previous 4 Videos (Auto-Updated)

Debug Information

Loading...

How It Works

Check Browser Console

Open Developer Tools (F12) → Console tab to see debug logs:

Manual Controls (Console Commands)

Paste these in the browser console (F12) to debug:

// View cached videos
JSON.parse(localStorage.getItem('yt_videos_cache'))

// View cache timestamp
new Date(Number(localStorage.getItem('yt_videos_cache_time')))

// Clear cache (triggers refetch on next page load)
localStorage.removeItem('yt_videos_cache');
localStorage.removeItem('yt_videos_cache_time');

// Manually set a video
document.querySelectorAll('.prev-videos iframe')[0].src = 'https://www.youtube.com/embed/VIDEO_ID_HERE'