append 'YouTube Live' url scheme regex to Youtube embed provider class
This commit is contained in:
committed by
Busra Sengul
parent
6705de0329
commit
7a8ba96682
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user