diff --git a/TASVideos/Pages/Shared/_MovieModule.cshtml b/TASVideos/Pages/Shared/_MovieModule.cshtml index 077ae0e4d..35426816c 100644 --- a/TASVideos/Pages/Shared/_MovieModule.cshtml +++ b/TASVideos/Pages/Shared/_MovieModule.cshtml @@ -221,14 +221,24 @@
- A/V files:
+ Video Downloads:
@foreach (var url in Model.MirrorSiteUrls) { - - @(string.IsNullOrWhiteSpace(url.DisplayName) ? "A/V file" : url.DisplayName) via Mirror -
-
+ string text = System.IO.Path.GetExtension(url.Url!).Replace(".", "").ToUpper(); + if (text == "MKV") + { + text = "High Quality " + text; + } + else if (text == "MP4") + { + text = "Compatibility " + text; + } + if (!string.IsNullOrEmpty(url.DisplayName)) + { + text = text + $" ({url.DisplayName})"; + } + @text
}