Client wants to protect videos from external links and easy download.
Solution, use protected folders in DNN file manager.
Problem: Entire file (video) must download for video to play using HTML5 video tag.
Module works and streams correctly using Standard folder type.
IFileInfo source = FileManager.Instance.GetFile(PortalId, RelativePathToFile));
string sSource = FileManager.Instance.GetUrl(source)
litVideoPlayer.Text = "<video width='640' height='480' preload='' poster='" + sPoster + "' tabindex='0' controls='controls' id='" + id + "'>";
litVideoPlayer.Text += "<source src='" + sSource + "' type='video/mp4'>";
litVideoPlayer.Text += "Your browser is out of date and does not support the HTML5 video tag.";
litVideoPlayer.Text += "</video>";
Video will play, but only after long delay as file downloads in the background. If I change the source line to point to existing video in Standard folder, it starts playing right away and streams.