+ @if (Options is null)
+ {
+
+ @Localizer["OptionsMissingText"]
+
+ }
+ else if (_initializing)
+ {
+
+ @Localizer["InitializingText"]
+
+ }
+ else if (string.IsNullOrEmpty(_registeredUrl))
+ {
+
+ @if (_missingToolPath is not null)
+ {
+ @Localizer[_failureTextKey, _missingToolPath]
+ }
+ else
+ {
+ @Localizer[_failureTextKey]
+ }
+
+ }
+ else if (PlayerUrl is { } url)
+ {
+
+ }
+ else
+ {
+
+ @Localizer["InvalidUrlText"]
+
+ }
+
diff --git a/src/components/BootstrapBlazor.MediaMtx/Components/MediaMtxPlayer.razor.cs b/src/components/BootstrapBlazor.MediaMtx/Components/MediaMtxPlayer.razor.cs
new file mode 100644
index 00000000..767471e8
--- /dev/null
+++ b/src/components/BootstrapBlazor.MediaMtx/Components/MediaMtxPlayer.razor.cs
@@ -0,0 +1,184 @@
+// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.
+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+// Website: https://www.blazor.zone or https://argozhang.github.io/
+
+using Microsoft.AspNetCore.Components;
+using Microsoft.Extensions.Localization;
+using Microsoft.Extensions.Logging;
+using System.Web;
+
+namespace BootstrapBlazor.Components;
+
+///