Version 1.1 - YouTube Integration & Custom Ambient Sounds
YouTube Integration Update - Version 1.1
What’s New in Deep Focus v1.1
Deep Focus now supports YouTube video integration for ambient sounds, dramatically expanding your focus soundtrack options beyond the built-in sounds. This major update introduces custom video start times, automatic title fetching, and seamless playback management.
Key Features Added
YouTube Sound Integration Features
1. Universal YouTube URL Support
- Multiple URL formats supported: Works with standard YouTube URLs, shortened youtu.be links, and mobile youtube.com URLs
- Automatic video ID extraction: Seamlessly processes various YouTube URL formats
- Smart title fetching: Automatically retrieves video titles using YouTube’s oEmbed API for better organization
- Custom start times: Set precise minute markers to skip intros and start at your preferred section
- Sound categorization: YouTube sounds use ‘youtube_’ prefix for proper identification and routing
2. Advanced Playback Management
- Chrome offscreen integration: Uses Chrome’s offscreen document API for reliable YouTube playback
- Precise volume control: Adjust YouTube video volume from 0-100 with smooth scaling
- Seamless looping: Videos automatically restart for continuous ambient sound experience
- Clean stop functionality: Complete playback termination when switching to different sounds or stopping
3. Intelligent Auto-Stop System
- Current sound detection: Automatically detects if a deleted sound is currently playing
- Instant playback stop: Immediately stops playback when users delete the active sound
- UI state management: Resets sound selection to “None” after auto-stop for clear user feedback
- Cross-component communication: Reliable message passing between extension components
How to Test YouTube Integration
Prerequisites
- Load the Deep Focus extension in Chrome
- Open the extension popup
- Navigate to “More Sounds” to access the sounds management page
URL Compatibility Testing
- Open the sounds management page
- Test these YouTube URL formats in the input field:
- Standard format:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
✅ Should work - Short format:
https://youtu.be/dQw4w9WgXcQ
✅ Should work - Mobile format:
https://youtube.com/watch?v=dQw4w9WgXcQ
✅ Should work - Invalid URL:
https://invalid-url.com/test
❌ Should show error message
- Standard format:
Automatic Title Fetching
- Paste a valid YouTube URL into the input field
- Wait approximately 1 second after pasting
- Verify that a “Fetched title” preview appears below the URL field
- Confirm you can override the auto-fetched title with a custom title
Custom Start Time Testing
- Add a YouTube video with the start minute set to 2
- Verify the video begins playback at the 2:00 mark when played
- Check that the playlist displays “(starts at 2m)” next to the video title
What This Update Means for Users
This major enhancement brings YouTube integration to Deep Focus, allowing you to:
- Use any YouTube video as ambient sound - Perfect for lo-fi playlists, nature sounds, or focus music from your favorite creators
- Start videos at specific times - Skip intros, advertisements, or unwanted sections to go straight to the content you need
- Enjoy seamless playback control - Volume adjustment and looping work exactly like built-in sounds with no interruptions
- Experience smart management - Videos automatically stop when deleted or when switching to different sounds, preventing audio conflicts
This enhancement significantly expands the ambient sound options available in Deep Focus while maintaining the same simple, distraction-free experience you expect from the extension.
Installation and Getting Started
Ready to try the new YouTube integration? Install Deep Focus from the Chrome Web Store and start customizing your focus environment with your favorite YouTube ambient sounds.
For more information about Deep Focus features, visit our FAQ page or learn more about the extension.