We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0f656 commit 6ba1a28Copy full SHA for 6ba1a28
source/funkin/play/cutscene/VideoCutscene.hx
@@ -70,6 +70,7 @@ class VideoCutscene
70
{
71
if (PlayState.instance == null) return;
72
73
+ #if FEATURE_VIDEO_PLAYBACK
74
if (!openfl.Assets.exists(filePath))
75
76
// Display a popup.
@@ -78,8 +79,7 @@ class VideoCutscene
78
79
80
return;
81
}
-
82
- var rawFilePath = Paths.stripLibrary(filePath);
+ #end
83
84
// Trigger the cutscene. Don't play the song in the background.
85
PlayState.instance.isInCutscene = true;
@@ -105,7 +105,7 @@ class VideoCutscene
105
finishVideo();
106
#else
107
#if html5
108
- playVideoHTML5(rawFilePath);
+ playVideoHTML5(Paths.stripLibrary(filePath));
109
#elseif hxvlc
110
playVideoNative(filePath);
111
0 commit comments