From a843ae530b07b92fc7341754b4722cdcb8dfb831 Mon Sep 17 00:00:00 2001 From: RblSb Date: Wed, 22 Jan 2025 15:13:11 +0300 Subject: Redesign portrait view with player at top Also improve autoscroll with column-reverse, so viewport resize / orientation change should not scroll chat to random places --- src/client/players/Youtube.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/players/Youtube.hx') diff --git a/src/client/players/Youtube.hx b/src/client/players/Youtube.hx index 5a8921a..b30dfb3 100644 --- a/src/client/players/Youtube.hx +++ b/src/client/players/Youtube.hx @@ -165,7 +165,7 @@ class Youtube implements IPlayer { function youtubeApiError(error:Dynamic):Void { final code:Int = error.code; final msg:String = error.message; - Main.serverMessage('Error $code: $msg', false); + Main.instance.serverMessage('Error $code: $msg', false); } function getRemoteDataFallback(url:String, callback:(data:VideoData) -> Void):Void { -- cgit v1.2.3