# YEDHEE - Full Agentic Specification ## Architecture YEDHEE mirrors the Ultra Speed Loading architecture: 1. Inline critical CSS + non-blocking stylesheet (`style.min.css`) 2. Asynchronous font loading + `content-visibility: auto` + explicit 16:9 `width="640" height="360"` (CLS = 0) 3. Lazy-loaded `hls.min.js` only on video playback 4. Zero ads, zero popups, zero tracking scripts 5. Dynamic Hybrid SSR (`index.php`) + Centralized Catalog Helper (`lib/catalog_helper.php`) ## API Reference ### 1. List / Search Videos `GET /missav/api.php?action=videos&category=all&page=1&per_page=24&search=` - `category`: `all`, `subthai`, `uncensored-leak`, `english-subtitle`, `uncensored`, `censored` - `search`: supports keyword search (e.g., `NGOD-367`, `ซับไทย`) - `Accept: text/markdown` returns structured Markdown video catalog. ### 2. Video Detail `GET /missav/api.php?action=detail&id=49331` Returns full metadata (`NGOD-367`), `hls_master`, `embed_url`, `thumbnail`, `release_date`, and `related` videos. Clean Watch URL: `GET /missav/watch/49331` (or `GET /missav/?v=49331`). ### 3. Categories `GET /missav/api.php?action=categories` ### 4. MCP Tools `GET /missav/api.php?action=mcp` ### 5. Dynamic Google Video Sitemap `GET /missav/sitemap.xml` (rewritten to `sitemap.php` with 1-hour per-host XML cache).