mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
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.
This commit is contained in:
parent
f94c3dec57
commit
b0abef0d52
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class VideoCutscene
|
|||
VideoCutscene.cutsceneType = cutsceneType;
|
||||
|
||||
#if html5
|
||||
playVideoHTML5(filePath);
|
||||
playVideoHTML5(rawFilePath);
|
||||
#elseif hxCodec
|
||||
playVideoNative(rawFilePath);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue