From 0cf03016b20ad4ee086bc77164a00b4d54378899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Thu, 9 Apr 2026 19:05:28 +0200 Subject: [PATCH] fix(engine): resolve external asset paths from compiled dir (#231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Parent-relative paths (e.g. `src="../file.wav"`) silently drop media from rendered MP4 - The compiler rewrites external paths to `hf-ext/` and copies files to the compiled directory, but both the audio mixer and video frame extractor only resolved against `projectDir` — never finding them - Now checks `compiledDir` first (matching the file server's resolution order), then falls back to `projectDir` - Fixes both `