append 'YouTube Live' url scheme regex to Youtube embed provider class

This commit is contained in:
Frederik Lundbeck Jørgensen
2024-10-15 18:12:51 +02:00
committed by Busra Sengul
parent 6705de0329
commit 7a8ba96682

View File

@@ -14,7 +14,7 @@ public class YouTube : OEmbedProviderBase
public override string ApiEndpoint => "https://www.youtube.com/oembed";
public override string[] UrlSchemeRegex => new[] { @"youtu.be/.*", @"youtube.com/watch.*", @"youtube.com/shorts/.*" };
public override string[] UrlSchemeRegex => new[] { @"youtu.be/.*", @"youtube.com/watch.*", @"youtube.com/shorts/.*", @"youtube.com/live/.*" };
public override Dictionary<string, string> RequestParams => new()
{