lampac/Shared/Models/Online/Settings/IframeVideoSettings.cs
lampac-talks f843f04fd4 chore: initial commit 154.3
Signed-off-by: lampac-talks <lampac-talks@users.noreply.github.com>
2026-01-30 16:23:09 +03:00

25 lines
616 B
C#

using Shared.Models.Base;
namespace Shared.Models.Online.Settings
{
public class IframeVideoSettings : BaseSettings, ICloneable
{
public IframeVideoSettings(string plugin, string host, string cdnhost, bool enable = true)
{
this.cdnhost = cdnhost;
this.enable = enable;
this.plugin = plugin;
if (host != null)
apihost = host.StartsWith("http") ? host : Decrypt(host);
}
public string cdnhost { get; set; }
object ICloneable.Clone()
{
return MemberwiseClone();
}
}
}