From b0abef0d527dcb90060a1b142fa4f4ed393a5ba2 Mon Sep 17 00:00:00 2001 From: Mike Welsh Date: Wed, 6 Mar 2024 23:37:50 -0800 Subject: [PATCH] Use correct resource URL when loading videos On HTML5, `VideoCutscene` was not stripping the library prefix from the video file path, causing the video to fail to load. Fixes FPIQ-281. --- source/funkin/play/cutscene/VideoCutscene.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/play/cutscene/VideoCutscene.hx b/source/funkin/play/cutscene/VideoCutscene.hx index 2d31b0a28..ff56e0919 100644 --- a/source/funkin/play/cutscene/VideoCutscene.hx +++ b/source/funkin/play/cutscene/VideoCutscene.hx @@ -61,7 +61,7 @@ class VideoCutscene VideoCutscene.cutsceneType = cutsceneType; #if html5 - playVideoHTML5(filePath); + playVideoHTML5(rawFilePath); #elseif hxCodec playVideoNative(rawFilePath); #else