A high-performance, cyber-slate dark & light themed web client for Blue Iris Video Security.
ModernUI3 transforms the standard Blue Iris web client (UI3) into a modern, responsive, Security Operations Center (SOC)-grade interface. Inspired by the clean minimalism of Apple Home and UniFi Protect combined with telemetry-dense monitoring tools, ModernUI3 brings a visually cohesive cyber-slate aesthetic without sacrificing any of the deep configurability that makes Blue Iris powerful.
- Zero-Risk Dual-Engine Architecture: Operates alongside standard UI3 under a client-side feature flag (
html.modern-ui3). With a single click of the header toggle switch, users can instantly switch between Modern UI and 100% untouched Classic UI3. - Preserved Video Pipeline: The core decoding and playback architecture (WebCodecs, MSE, JPEG fallback, and low-latency sub-stream switching) remains completely unified and pristine, ensuring rock-solid stability and zero streaming regressions.
- High-Density Telemetry & Aesthetics: Translucent obsidian glass surfaces, backdrop blurs, customizable neon telemetry accents, and clean tabular typography for timestamps and hardware metrics.
- Mobile-First & PWA-Native: Full support for desktop browser workstations, wall-mounted tablets, and mobile devices with dedicated bottom navigation, Web Push notifications, and Progressive Web App (PWA) standalone installation.
ModernUI3 currently incorporates a rich set of completed architectural overhauls, visual improvements, and workflow refinements:
- Dual Dark & Light Themes: Full Cyber-Slate Obsidian Dark Mode (
--modern-bg-canvas: #090D14,--modern-bg-card: #131D35, glass cards with backdrop filter blur, dark scrollbars) and crisp Light Mode (data-modern-theme="light"), with consistent accent theming across dialogs, clip previews, and Camera Properties. - 13 Dynamic Accent Colors: Real-time theme selection in UI Settings with instant CSS variable re-theming and glowing lasers across all controls:
- Electric Cyan (
#00E5FF) — Default cyber glow - Emerald Neon (
#10B981) - Cyber Violet (
#A855F7) - Amber Gold (
#F59E0B) - Crimson Red (
#EF4444) - Glacier White (
#F8FAFC) - Stealth Gray (
#94A3B8) - Liquid Silver (
#CBD5E1) - Solar Gold (
#FACC15) - Cobalt Blue (
#3B82F6) - Synthwave Pink (
#EC4899) - Plasma Orange (
#F97316) - Toxic Lime (
#84CC16)
- Electric Cyan (
- Layout Density Controls: Adjustable UI density options (Compact, Cozy, Comfortable) controlling spacing, button padding, and touch target sizes.
- Camera Properties Consistency: Harmonized card padding, right-aligned toggle switches, inline dropdowns, full-width range sliders, and Classic semantic button colors (
Trigger,Snapshot,Stop Recording,Pause,Disable,Soft Restart,Hard Reboot) with Modern glass/glow styling in both dark and light modes. - Clip Preview & Mobile Portrait Polish: Theme-aware clip preview top bar and filter navigation arrows, readable light-mode selected-clip highlighting, and compact portrait alert/clip tile text sizing.
- Status Bar & Classic UI Parity: Bottom-docked status bar with expandable multi-column grid, left-aligned collapse/expand chevron, configurable
"None"label option, and clean Classic UI / Modern UI layout isolation. - Deep-Linking & Camera Controls: Reliable single-camera
?cam=...refresh handling (including+space decoding),seamlessActivestartup state fixes, and synced portrait/landscape camera controls.
- Bottom & Top Navigation Restoration on Fullscreen Exit: Fixed an issue in
resized()where exiting fullscreen (especially whenui3_fullscreen_videoonlyis disabled or without aMaximizeChangedstate transition) left#modern-topbarand#modern-sidebarhidden with inlinedisplay: nonewhile reserving space and rendering#statusArea. Both navigation bars are now reliably restored whenevermodernUI3.isEnabled() && !isMaxOrFs. - Always-Available Video Maximize Button: Enabled
ui3_show_maximize_button("1") by default so the video overlay Maximize arrows button (#clipMaximizeButton) is always accessible outside of full screen mode.
- Continuous Section Resizing Slider: Features a dedicated cyber handle slider along the left border of the timeline button section allowing fluid horizontal dragging to expand or contract its width (from 52px up to 280px), with automatic persistence in
localStorage. - Intense Radiant Neon Edge Glow (v348.105): Significantly increased the press highlight intensity on zoom buttons with a multi-layered neon edge glow: crisp white inner border, 1px accent boundary, 14px outer primary glow, 28px radiant bloom halo, and inset rim highlights. Pressing down ignites the glow instantly (0ms), while quick taps sustain a 220ms active pulse that smoothly dissipates over 250ms with zero persistent sticky highlights.
- Slide-Only Expansion & Increased Left Padding (v348.103): Added 12px of dedicated left-side padding to the collapsed zoom column and adjusted column width to 52px, creating a clear gap between the resize handle hit area and the zoom buttons to prevent accidental touches. Replaced tap-to-toggle with a strict slide-to-expand gesture, requiring an intentional leftward slide of the handle to expand the panel.
- Wider Collapsed Zoom Buttons & Consistent Handle (v348.102): Increased collapsed button width for more comfortable finger tapping and unified the resize handle design across both expanded and collapsed states, retaining the sleek vertical slider handle pill on the border in all modes.
- Collapsed Expansion & Mobile Touch Stability (v348.101): Fixed an issue where the collapsed panel could get locked due to missing jQuery touch event coordinates (
ev.originalEvent) and premature drag threshold detection. Added safe uncollapsed width initialization (>= 90px), double-tap to expand, and robust touch/mouse coordinate extraction. - 8-Interval Snappable Duration Slider: Replaces discrete preset buttons with a responsive slider track spanning 8 intervals:
7d,2d,1d,12h,6h,2h,1h,30m. Snaps cleanly to the nearest preset notch upon release and applies the target time window instantly. - Max & Min End Bounds & Middle Active Badge: Displays only
7d(max) on the left and30m(min) on the right, with a glowing cyber badge in the center displaying the active interval (timelineSliderDisplayLabel) both while dragging and after release. - Continuous Real-Time Pinch & Button Sync: When zooming via pinch gestures on the timeline canvas or using the
+/-zoom buttons, the slider thumb continuously recalculates its logarithmic position in real time (including intermediate intervals between discrete presets) with zero lag. - Adaptive Collapsed Mode for Mobile: When contracted or collapsed down to mobile zoom button width (~34px), the slider section seamlessly hides and the
+(Zoom In) and-(Zoom Out) buttons stack vertically on top of each other, right-justified against the timeline bar.
- Target Jitter Buffer & Damped Keyframe Pacing:
webgpu_video_worker.js'sRenderSchedulerenforces a target buffer depth (2 frames / ~150–200ms) and damps playback clock rollbacks during keyframe decoding spikes. This prevents IDR decode spikes from draining the buffer, eliminates starvation mode, and suppresses irregular frame timing spikes. - Worker Buffer Occupancy Telemetry: The WebGPU worker communicates active queue length and buffered duration directly to
WebCodec_WebGPU_Player, ensuringGetBufferedFrameCount()andGetBufferedTime()maintain continuous, rock-solid telemetry without transient zero dropouts during inter-packet arrivals. - Accurate Live Source/Network Latency: Computes actual end-to-end source-to-client delay (
GetUtcNow() - frame.utc) for live streams, displaying true real-time network and encoding latency (e.g. 150–250ms) instead of clamping to0000ms. - Active 1px Baseline in Sparkline Graphs:
SimpleGraphrenders a crisp 1px floor line for active zero values, avoiding empty black voids in telemetry sparklines.
- Expanded Control Pad Geometry (3x Width): The dedicated timeline zoom and preset control pad width is expanded from 34px to 102px, transforming into an accessible, ergonomic control center on the right edge of the timeline canvas.
- Top Half 4-Column Time Presets: The upper section splits horizontally into 4 vertical columns with
1hon the right (24h,12h,6h,1h), providing instant single-tap time horizon switching. - Bottom Half Dual Zoom Action Buttons: The lower section seats the
-(Zoom Out) button on the left and+(Zoom In) button on the right, providing large, touch-friendly zoom controls side by side. - Dynamic Accent Color Theming: All preset and zoom buttons are dynamically themed with the active cyber accent color (
--modern-accent-primary, glow effects, and subtle neon borders) matching user preferences seamlessly.
- Responsive Stacked Time Display: When viewing on mobile or narrow screens where video feed overlay controls cannot fit on a single row, the current time display text (
#playbackProgressTextand#playbackFrameTimestamp) automatically moves above the playback controls onto its own dedicated row, left justified. - Clean Single-Row Buttons Below: Playback control buttons (pause/play, skip, step, mute, auto-maximize, change group, settings, fullscreen, speed) sit neatly underneath on row 2 with zero collision, clipping, or awkward wrapping.
- Seamless Desktop Continuity: On desktop and wide screens where overlay controls fit on a single line, the classic single-row layout is automatically retained without disruption.
- Dedicated Off-Thread Rendering: Decouples video decoding and presentation completely from the main UI thread onto a background Web Worker using
OffscreenCanvas. The main JavaScript thread does zero video rasterization, guaranteeing 120fps/60fps UI fluidity during complex layouts, dialog animations, and timeline scrubbing. - Zero-Copy WebGPU Memory Pipeline: Decodes incoming H.264/H.265 NAL units on the hardware ASIC via WebCodecs (
VideoDecoder) and binds frames directly to WebGPU textures viaimportExternalTexture({ source: videoFrame })without CPU-side memory duplication or PCIe re-uploading. - Real-Time Contrast Adaptive Sharpening (CAS): Custom WGSL fragment shader applying adaptive local contrast sharpening in real-time with zero latency to clarify CCTV lens softness and low-bitrate compression artifacts.
- 100% Backward Compatible & Opt-In: Safely disabled by default (
Enable WebGPU Acceleration (Worker)setting); automatically performs graceful failover to the standard Canvas 2DWebCodec_Playerif device loss (device.lost) or hardware context exhaustion occurs.
- Background Event Delivery: Receives alert push notifications directly in the browser even when UI3 is closed or minimized (supported on Blue Iris 6.1.4.16+ and 6.1.5.x).
- Dual-Mode Subscription Engine:
- Direct Mode (HTTPS / Localhost): Native
PushManagersubscription using Blue Iris's VAPID public key with end-to-end encryption. - Relay Mode (HTTP): Transparent push relay via
ui3-push.bp2008.orgenabling push notifications on non-HTTPS local network deployments.
- Direct Mode (HTTPS / Localhost): Native
- Smart Client Deep-Linking: Notification clicks bring an existing UI3 tab into focus (or open a new window) and automatically seek to the alert clip (
?rec=) or live camera (?cam=). - Interactive Push Dialog & Menu Badges: Modal dialog with live connection status pill (
pushStatusPill: Active, Paused, Unavailable, Loading), browser rename input, test notification triggers, and live status badges on the Main Menu (.menuItemStatus.on).
- Full Device Fleet Console: Replaces legacy static tables with an interactive management dashboard for Blue Iris mobile devices (
Settings > Mobile devices). - Per-Device Push Controls: Dropdown to toggle push On/Off or Pause for predefined intervals: 15 minutes, 1 hour, 4 hours, 8 hours, 1 day, or 1 week.
- Live Countdown Ticker: Real-time 15-second countdown timer updating remaining pause durations dynamically.
- Fleet Badges & Metadata: Platform detection icons (Apple/iOS, Android, Windows, Web), geofence chips ("Inside fence" / "Outside fence"), "This browser" self-identification badge, and login statistics reset.
- Expanded Telemetry Options:
- Server CPU load and Memory utilization
- Server GPU decoding load (NVDEC / Intel QuickSync)
- Active client connections count
- Live server network round-trip ping (ms)
- Smoothness / Dropped frame rate indicator
- Cameras online fleet status
- Interactive Setting Descriptions: Status bar item dropdowns in UI Settings feature dynamic multi-line descriptions displayed directly underneath item selections.
- Top Header Bar:
- Dedicated quick-action shortcuts (Save Snapshot, All Clips, Alerts Canceled).
- Dynamic theme-accented [• LIVE] status pill.
- Profile selector pill with current mode display.
- One-click Modern UI / Classic UI toggle switch.
- Responsive Navigation:
- Desktop: Left-aligned icon sidebar with glowing active pill indicators and collapsible flyout.
- Mobile / Portrait: Sleek bottom navigation dock (
Dashboard,Cameras,Alerts,Timeline,Clips,Settings). - Landscape Persistence: Sidebar collapsed state is retained across browser reloads with zero-flicker early
<head>DOM initialization.
- Configurable Startup Page:
- Choose default view:
Dashboard,Cameras,Timeline,Alerts,Clips, orRemember Last Used Page. - Direct URL overrides:
ui3.htm?page=cameras,ui3.htm?page=timeline, etc.
- Choose default view:
- Radar Virtual Joystick: Circular radar-styled virtual joystick with concentric guide rings, glowing chevrons, centered dual-tier control knob, and unified row controls.
- Preset Buttons Grid: Glassmorphic preset tiles with persistent border glow highlighting saved preset positions (
.hasPreset), compact 5-preset mode, and native PTZ Home button. - Harmonized Card Sizing: Perfectly aligned card dimensions, borders, and shadows matching all other settings sections without wide-column distortions.
- Starfield Background Animation: Modern parallax starfield in future timespace with cosmic nebulae, twinkling stars, and meteors.
- Dynamic Scrubber & Seekbar: Clean playhead with live timestamp indicator; seekbar automatically hidden during live playback and active only during clip playback.
- Multi-Clip Timeline Export: Server-side timeline export with interactive markers, oscillating sine-wave progress bar, and laser beam scanner.
- Convert / Export Queue: Non-blocking inline cancel confirmation, progress bars with 2-decimal precision, and dark image unavailable fallbacks.
ModernUI3/
├── applet/ # Logos, PWA icons, manifest.json, loginStyles.css
├── ui3/
│ ├── ui3.js # Core UI3 logic, PushNotifications, DeviceListDialog, & ModernUIController
│ ├── ui3.css # Cyber-slate scoped design tokens & upstream merged styles
│ ├── icons.svg # SVG iconography definitions
│ ├── storageinfo.htm # Themed storage diagnostics and backup tool
│ ├── libs-ui3.js # Core UI3 runtime libraries & dialog handlers
│ └── libs-ui3.css # Core library stylesheets
├── ui3.htm # Main application markup, early head bootstrap, & DOM mounts
├── login.htm # Modernized cyber-lens login screen
├── timeout.htm # Session timeout notification screen
└── ui3serviceworker.js # Production service worker with Web Push & client deep-linking
ModernUI3 does not modify core Blue Iris backend server binaries. All modernization is applied strictly via client-side styling and non-destructive DOM enhancements:
- Scoped CSS: All modern styles are encapsulated under
html.modern-ui3andbody.modern-ui3. When Modern UI is toggled off, all modern styling rules become inert. - Instant Rollback: If a user prefers the classic look or encounters an issue, clicking the top bar toggle switch or setting
settings.ui3_modern_ui = 0instantly returns the interface to standard UI3. - Storage Persistence: All user preferences (accent color, density, startup page, sidebar collapse state, and last visited page) are persisted to browser
localStorageunder namespacedui3_*keys.
| Parameter | Alias | Example | Description |
|---|---|---|---|
page |
p |
?page=cameras |
Overrides startup page: dashboard, cameras, timeline, alerts, clips |
tab |
t |
?t=live |
Selects primary tab: live, clips, timeline |
group |
g |
?group=Index |
Automatically loads the specified camera group on boot |
camera |
cam |
?cam=Driveway |
Automatically opens the specified single camera feed |
rec |
r |
?rec=12345 |
Directly plays back the specified recording clip ID |
- Built upon UI3 for Blue Iris (originally authored by bp2008 and licensed under GNU LGPL Version 3).
- Modernized by Darkstyle / bwenger9.