Subtitles Plus for Chrome Player
Subtitles Plus for Chrome Player is a high-performance, commercial Chrome Extension (Manifest V3) designed to transform Chrome’s native video player into a fully featured media viewer. It solves major browser limitations by introducing external subtitle file support, zero-memory embedded Matroska (.MKV) subtitle extraction, and Picture-in-Picture mode with burned-in subtitles and a seekable progress bar—eliminating the need for external desktop media players when watching local or web videos.
🌟 Key Features:
Multi-Format Subtitle Engine: Seamlessly parses and renders .SRT, .VTT (WebVTT), and .ASS/.SSA subtitles with automatic text encoding detection (UTF-8, UTF-16 LE/BE with/without BOM, and Windows-1252 fallback).
Zero-Memory MKV Subtitle Extractor: Custom binary EBML parser that extracts embedded text subtitles directly from multi-gigabyte MKV/WebM files using random-access byte slicing (Cues index lookup & streaming cluster scan) without buffering heavy video data in RAM.
Subtitled Picture-in-Picture (PiP): Real-time frame compositing using HTML5 Canvas and MediaStream capture to render crisp subtitles directly inside floating PiP windows, paired with MediaSession API integration for a seekable timeline.
Automatic Local Sibling Detection: Automatically scans and loads matching subtitle files situated in the same folder as local video files (file:/// URLs).
Real-Time Sync & Appearance Controls: Intuitive keyboard shortcuts (G/H for timing delay, V for track cycling, P for PiP) and live visual customization for subtitle font size, vertical positioning, outline/box styles, and color palettes.
Top-Layer Fullscreen Overlay: Built using Shadow DOM and the HTML Popover API to guarantee subtitle overlays remain fully visible above native fullscreen video controls without styling conflicts.
Device-Bound Licensing & Anti-Tamper: Integrated licensing architecture featuring device-bound activation, background startup verification with offline grace periods, and an automated AST control-flow obfuscation build pipeline.
🛠️ Technologies Used:
JavaScript (ES2022)
Chrome Extension API (Manifest V3)
Service Workers
Binary EBML / Matroska Spec Parser
HTML5 Video & TextTrack API
HTML5 Canvas & MediaStream (captureStream)
MediaSession API
Shadow DOM & Popover API
DecompressionStream API (Zlib / RFC 1950)
Chrome Storage API
Node.js
javascript-obfuscator (AST Obfuscation Pipeline)
Archiver (Release Packaging)
📦 Highlights:
• Zero-Memory RAM Footprint for 10GB+ MKV Files
• Real-Time Subtitle Rendering in Picture-in-Picture
• Seekable Timeline Navigation in PiP (MediaSession API)
• Native Zlib EBML Header Compression Decompression
• Automated Drag & Drop Subtitle Ingestion
• Background-Tab Video Sync Watchdog
• Device-Bound Hardware ID Licensing with Offline Grace
• Production AST Control-Flow Obfuscation Pipeline
🔖 Skills:
Browser Extension Development (Manifest V3)
Binary File Parsing & Stream Processing
Media Engineering (HTML5 Video & Audio)
Real-Time Canvas Compositing
Software Licensing & Digital Rights Architecture
Code Protection & JavaScript AST Obfuscation
Frontend Performance Optimization
Shadow DOM Encapsulation
Keyboard Shortcut & Event Systems
🔗 Project Link:
Buy Subtitles Plus on Buy Me a Coffee