From 7a4722125090b37a2f34c82a10936665ea795fa6 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Thu, 15 Jun 2023 00:30:01 -0400 Subject: [PATCH] Fixes for FlxVideo --- source/funkin/graphics/video/FlxVideo.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/graphics/video/FlxVideo.hx b/source/funkin/graphics/video/FlxVideo.hx index 34b806f7e..393e2d49c 100644 --- a/source/funkin/graphics/video/FlxVideo.hx +++ b/source/funkin/graphics/video/FlxVideo.hx @@ -20,7 +20,7 @@ class FlxVideo extends FlxBasic /** * Doesn't actually interact with Flixel shit, only just a pleasant to use class */ - public function new(vidSrc:String) + public function new(videoPath:String) { super(); @@ -36,7 +36,7 @@ class FlxVideo extends FlxBasic netStream = new NetStream(netConnection); netStream.client = {onMetaData: client_onMetaData}; netConnection.addEventListener(NetStatusEvent.NET_STATUS, netConnection_onNetStatus); - netStream.play(Paths.file(vidSrc)); + netStream.play(videoPath); } public function finishVideo():Void