mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -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;
|
VideoCutscene.cutsceneType = cutsceneType;
|
||||||
|
|
||||||
#if html5
|
#if html5
|
||||||
playVideoHTML5(filePath);
|
playVideoHTML5(rawFilePath);
|
||||||
#elseif hxCodec
|
#elseif hxCodec
|
||||||
playVideoNative(rawFilePath);
|
playVideoNative(rawFilePath);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue