A modern web application that allows you to watch multiple YouTube videos simultaneously in a customizable grid layout. Perfect for monitoring multiple streams, comparing content, or creating video walls.
- Multi-Video Grid: Display 1-16 YouTube videos simultaneously
- Flexible Layouts: Choose from 1×1, 1×2, 2×1, 2×2, 2×3, 3×2, 3×3, and 4×4 grid layouts
- Profile Management: Save, load, edit, and delete video layout profiles
- Fullscreen Support: Toggle fullscreen for the entire grid or individual videos
- Responsive Design: Works on desktop, tablet, and mobile devices
- Drag & Drop: Easy video management with intuitive controls
- Keyboard Shortcuts: Quick access to common functions
- Modern UI: Clean, professional interface with smooth animations
- Real-time Status: Live updates showing video count and grid information
- Save Layouts: Store your favorite video combinations
- Quick Loading: Instantly switch between saved profiles
- Profile Management: Edit names, delete unwanted profiles
- Persistent Storage: Profiles saved locally in your browser
- Open
index.htmlin your web browser - Click "Add Videos" to start adding YouTube URLs
- Paste YouTube links (one per line) in the modal
- Choose your preferred grid layout
- Enjoy your multi-video experience!
- Click the "Add Videos" button
- Enter YouTube URLs in any of these formats:
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://www.youtube.com/embed/VIDEO_ID
- The app automatically validates URLs and extracts video IDs
-
Save Profile:
- Arrange your videos and grid layout
- Enter a profile name
- Click "Save"
-
Load Profile:
- Select a profile from the dropdown
- Click "Load"
-
Delete Profile:
- Select the profile to delete
- Click "Delete" and confirm
- 1×1: Single video (fullscreen-like)
- 1×2: Two videos stacked vertically
- 2×1: Two videos side by side
- 2×2: Four videos in a square (default)
- 2×3: Six videos in 2 columns, 3 rows
- 3×2: Six videos in 3 columns, 2 rows
- 3×3: Nine videos in a square
- 4×4: Sixteen videos for maximum monitoring
- Grid Fullscreen: Click the fullscreen button to expand the entire grid
- Individual Video: Hover over a video and click the expand icon
- Exit: Press
Escapeor click the compress button
| Shortcut | Action |
|---|---|
Ctrl/Cmd + F |
Toggle grid fullscreen |
Ctrl/Cmd + A |
Open add videos modal |
Ctrl/Cmd + C |
Clear all videos |
Escape |
Close modals / Exit fullscreen |
The application is fully responsive and works on:
- Desktop: Full feature set with mouse interactions
- Tablet: Touch-optimized interface with gesture support
- Mobile: Streamlined layout for smaller screens
- Efficient Rendering: Only loads videos that fit in the current grid
- Memory Management: Automatic cleanup of unused video elements
- Smooth Animations: CSS transitions for professional feel
- Modern Browsers: Chrome, Firefox, Safari, Edge
- HTML5 Features: Uses modern web standards
- Responsive: Works across all device sizes
- Persistent Profiles: Saves profiles in browser localStorage
- No Server Required: Fully client-side application
- Privacy Focused: No data sent to external servers
The application uses CSS custom properties and modular code, making it easy to customize:
- Edit
styles.cssto change colors, fonts, and layouts - Modify CSS variables for quick theme changes
- Add custom grid layouts by extending the CSS grid classes
- Extend
script.jsto add new features - Add custom keyboard shortcuts
- Integrate with other APIs or services
pg_yt/
├── index.html # Main application file
├── styles.css # Stylesheet with responsive design
├── script.js # Application logic and functionality
└── README.md # This documentation
- No Data Collection: The app doesn't collect or store personal data
- Local Storage Only: All profiles saved in your browser
- YouTube Embed: Uses YouTube's official embed API
- Secure: No external dependencies or third-party tracking
- Open the application
- Click "Add Videos"
- Paste these example URLs:
https://www.youtube.com/watch?v=dQw4w9WgXcQ https://www.youtube.com/watch?v=jNQXAC9IVRw https://www.youtube.com/watch?v=L_jWHffIx5E https://www.youtube.com/watch?v=fC7oUOUEEi4 - Select "2×2" grid layout
- Save as "Demo Profile"
- Toggle fullscreen and enjoy!
- Start Small: Begin with a 2×2 grid and expand as needed
- Save Frequently: Create profiles for different use cases
- Use Fullscreen: Maximize screen real estate for better viewing
- Check URLs: Ensure YouTube links are valid before adding
- Mobile Friendly: The app works great on tablets for portable monitoring
- Check if YouTube URLs are valid
- Ensure you have an internet connection
- Some videos may have embed restrictions
- Reduce grid size for better performance
- Close other browser tabs using video
- Clear browser cache if needed
- Check if localStorage is enabled in your browser
- Profiles are browser-specific and don't sync across devices
Enjoy your YouTube Multi-Viewer experience! 🎉