Create a IHostProvider with delegate handler.
public static IHostProvider Create(string hostPrefix, Func<Uri, string?> handler, bool allowFullScreen = true, string? iframeClass = null)
Prefix of host that can be handled.
Handler that generate iframe url, if uri cannot be handled, it can return null.
Should the generated iframe has allowfullscreen attribute.
"class" attribute of generated iframe.