Watch while you work.
Invisible to everyone else.
GhostPlayer floats YouTube and Twitch over your workspace. Presentation privacy on Zoom, Teams, and Slack, automatic workplace focus pauses, and a zero-footprint menu bar podcast mode.
7-Day Free Trial • No Account Required • macOS Sonoma & Sequoia
import SwiftUI
import AppKit
@MainActor
public final class FocusShieldManager: ObservableObject {
private let detector = SmartFocusDetector()
private var debounceDelay: TimeInterval = 3.0
// Auto-pauses when Slack, Teams, or Messages stays active
func handleAppSwitched(to bundleId: String) {
if bundleId.contains("slack") || bundleId.contains("teams") {
scheduleAutoPause(after: debounceDelay)
} else {
restorePlaybackWithRewind(seconds: 5)
}
}
}