Overview
Picture-in-Picture creates a small, always-on-top video player that stays visible while you multitask.Multi-tasking
Watch videos while browsing other sites
Always Visible
Video window stays on top of all content
Auto-Enable
Automatically activates when switching tabs
Media Controls
Full playback controls in the PiP window
Automatic Picture-in-Picture
Ora Browser can automatically enter PiP mode when you switch away from a playing video.Auto-PiP Configuration
Enabling Auto-PiP
Auto-PiP is enabled by default to enhance your multitasking experience. You can disable it at any time in Settings.
How Auto-PiP Works
When you switch tabs with auto-PiP enabled:- Playing video detected on the current tab
- You switch to a different tab
- Video enters PiP mode automatically
- You switch back to the video tab
- Video exits PiP mode and returns to normal playback
JavaScript Integration
Ora Browser injects JavaScript to control PiP functionality:PiP Logic
The JavaScript implementation:- Finds all video elements on the page
- Identifies the main video (largest by dimensions)
- Checks current PiP state to avoid conflicts
- Requests PiP entry when switching away
- Exits PiP when switching back
WebKit Configuration
PiP support is enabled in the WebView configuration:Media Session Integration
The PiP feature works with the Media Controller:Media Controls
PiP windows support full media controls:- Playback
- Volume
Using Picture-in-Picture
Manual Activation
Automatic Activation
With auto-PiP enabled:- Start playing a video
- Switch to another tab (⌃⇥ or ⌘T)
- PiP activates automatically
- Continue browsing while watching
PiP Window Features
Always On Top
PiP window stays visible over all other windows
Moveable
Drag to any screen position
Resizable
Adjust size by dragging corners
Controls
Play, pause, and skip controls
Supported Video Sites
Picture-in-Picture works with most modern video players:- YouTube - Full support with all controls
- Vimeo - Complete PiP functionality
- Netflix - Native PiP support
- Amazon Prime Video - Full compatibility
- HTML5 video players - Universal support
- Embedded videos - Most standard implementations
Some streaming services may restrict PiP due to DRM or licensing requirements.
Settings & Preferences
Auto-PiP Setting
- Enabled by default (
true) - Persisted across sessions
- Accessible in Settings → General
Toggle Setting
You can toggle auto-PiP on or off at any time without affecting manual PiP usage.Advanced Features
Tab State Tracking
The browser tracks which tabs have playing media:Session Management
Media sessions persist across tab switches:- Playing state for each tab
- Volume levels per video
- Track navigation capabilities
- Last active timestamps
Multiple PiP Windows
While macOS limits PiP to one video at a time, Ora Browser intelligently manages which video is active:Keyboard & Controls
While in Picture-in-Picture mode:| Action | Method |
|---|---|
| Exit PiP | Click the X button or return to the video tab |
| Resize | Drag corners of the PiP window |
| Move | Drag the window to a new position |
| Play/Pause | Click the play button or press Space |
| Volume | Use volume controls in PiP or system volume |
Best Practices
Positioning the PiP Window
Positioning the PiP Window
Place the PiP window where it won’t obscure important content:
- Bottom right corner for most tasks
- Top right for reading long articles
- Second monitor for multi-screen setups
- Adjust size based on video importance
Using Auto-PiP Effectively
Using Auto-PiP Effectively
Maximize your multitasking:
- Keep important videos playing while researching
- Watch tutorials while taking notes
- Monitor live streams while browsing
- Follow video calls while reviewing documents
Managing Multiple Videos
Managing Multiple Videos
When working with multiple video tabs:
- Only one video can be in PiP at a time
- The most recent video takes priority
- Return to a tab to exit PiP for that video
- Use media controls to manage playback
Performance Considerations
Performance Considerations
For smooth video playback:
- Close unused tabs to free resources
- Use PiP for one video at a time
- Adjust video quality for performance
- Monitor CPU usage with Activity Monitor
Troubleshooting
PiP Won’t Activate
- Ensure auto-PiP is enabled in Settings
- Verify the video is playing before switching tabs
- Check that the website supports PiP
- Try manually entering PiP mode
- Restart the browser if issues persist
Video Returns to Tab
If PiP exits unexpectedly:- Check if you clicked the close button
- Verify the video is still playing
- Ensure the tab wasn’t closed
- Look for site-specific restrictions
Controls Not Working
- Refresh the page and try again
- Check if the video player supports the controls
- Verify JavaScript is enabled
- Try a different browser if site-specific
Poor Performance in PiP
- Lower the video quality
- Close other resource-intensive tabs
- Check your internet connection speed
- Update macOS and Ora Browser
- Restart your computer if needed
Privacy & Permissions
Picture-in-Picture doesn’t require special permissions beyond standard video playback. The feature works entirely within the browser’s sandbox.
What’s Shared
- Video playback state is visible to the current website
- Volume settings are browser-controlled
- No additional data is transmitted
What’s Private
- PiP usage isn’t tracked or reported
- Video content stays in the browser
- No external services involved
Platform Integration
Ora Browser’s PiP integrates with macOS:- System-level window management
- Energy-efficient video rendering
- Consistent across all apps
- Respects system preferences
Technical Details
Video Detection
The browser finds the optimal video for PiP:- Largest video by pixel dimensions
- Actively playing videos over paused
- Visible videos in the viewport
State Management
- No duplicate PiP windows
- Clean state transitions
- Proper cleanup on tab close
