PlayAudio.cshtml
The hyperlink from any page would be www.mywebsite.com/PlayAudio?id=myvoiceover1
and in the page, it would take the id querystring, append .mp3 to the id and use as a source,
then, using an <audio> tag, would start to play once the window opens
The HTML would look something like this:
<html>
<head>
<title>Voice Over</title>
</head>
<body>
<div class="vowrap">
<audio autoplay preload controls>
<source src="https://www.mywebsite.com/audio/myvoiceover1.ogg" type="audio/ogg" />
<source src="https://www.mywebsite.com/audio/myvoiceover1.mp3" type="audio/mpeg" />
<source src="https://www.mywebsite.com/audio/myvoiceover1.wav" type="audio/wav" />
<source src="https://www.mywebsite.com/audio/myvoiceover1.m4a" type="audio/mp4" />
</audio>
</div>
</body>
</html>
It doesn't require all the overhead, but I'm not really sure if I need to go full blown MVC for something that a simple razor page could handle. I don't really know where to put the page.
If this isn't possible, what would be a good example of the NC way of doing the MVC?