@inherits FnzComponentBase
@code {
    protected override string Prefix => base.Prefix + ".video";

    [Parameter] public RenderFragment ChildContent { get; set; }
}

<video id="@ElementId" @attributes="InputAttributes">@ChildContent</video>

@code
{
    public async Task<bool> CheckIsAudioOnly() => await JSRuntime.InvokeAsync<bool>(Prefix + ".isAudioOnly", ElementId);
    public async Task Reset() => await JSRuntime.InvokeVoidAsync(Prefix + ".reset", ElementId);
    public async Task Play() => await JSRuntime.InvokeVoidAsync(Prefix + ".play", ElementId);
}
