diff --git a/scripts/fetch-videojs-dependencies.cr b/scripts/fetch-player-dependencies.cr
similarity index 100%
rename from scripts/fetch-videojs-dependencies.cr
rename to scripts/fetch-player-dependencies.cr
diff --git a/src/invidious.cr b/src/invidious.cr
index 5ad2dd91..138e1f50 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -126,6 +126,19 @@ if CONFIG.check_tables
   end
 end
 
+# Resolve player dependencies. This is done at compile time.
+#
+# Running the script by itself would show some colorful feedback while this doesn't.
+# Perhaps we should just move the script to runtime in order to get that feedback?
+
+{% puts "\nChecking player dependencies...\n" %}
+{% if flag?(:minified_player_dependencies) %}
+  {% run("../scripts/fetch-player-dependencies.cr", "--minified") %}
+{% else %}
+  {% run("../scripts/fetch-player-dependencies.cr") %}
+{% end %}
+{% puts "Done!\n" %}
+
 # Start jobs
 
 if CONFIG.channel_threads > 0