-
Notifications
You must be signed in to change notification settings - Fork 5
yt-dlp cannot find JavaScript runtime #6263
Description
Describe the bug?
When pasting links to YouTube videos in-game, sometimes they either won't load or they will be poor quality. This appears to be because yt-dlp is not able to find a JavaScript runtime to use for the challenges presented by YouTube. This is despite the fact that Resonite ships qjs and qjs.exe in the RuntimeData folder, as these don't appear to be loaded at all ever.
To Reproduce
Paste a YouTube video in-game and then check the log file.
Reproduction Item/World
https://youtu.be/3IPcjNsV17Q?si=37iWX8oWdEHUhVgg
Expected behavior
yt-dlp is able to find and use the intended JavaScript runtime.
Screenshots
N/a
Resonite Version Number
Beta 2026.2.12.359
What Platforms does this occur on?
Linux
What headset if any do you use?
Quest Pro
Log Files
[yt-dlp] WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one
owo-pc - 2026.2.12.359 - 2026-02-15 02_51_32.log
Additional Context
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#configuration
If you want to get extra debug information from yt-dlp, you can create a file yt-dlp.conf in the root Resonite folder and then give it the following contents:
-v
Some debug logging I got:
[yt-dlp] [debug] JS runtimes: none
[debug] [youtube] [jsc] JS Challenge Providers: bun (unavailable), deno (unavailable), node (unavailable), quickjs (unavailable)
One way to fix the issue might be to add this to the yt-dlp config (for Linux):
--js-runtimes quickjs:RuntimeData/qjs
You might also be able to just move qjs and qjs.exe from RuntimeData and into the root Resonite folder.
Reporters
Nytra
Metadata
Metadata
Assignees
Labels
Type
Projects
Status