I am using Radzen 2.86.8 to build a Blazor app and I am trying display a video file using the HTML component. I have set the content to:
I have confirmed the location is correct. I when I run the application I get a 404 error that the file is not found. Can someone confirm I am using the HTML content property correctly?
The /videos path is rooted which could be incorrect. You can inspect the generated video element with the browser developer tools to see what the actual path is.
I have verified in the IIS configuration and also in the content.
When I execute “file:///K:/Plant_Reporting/wwwroot/Videos/VPASession1.mp4” from a browser, the file works.
When I execute “/Plant_Reporting/wwwroot/Videos/VPASession1.mp4” from the application I get the 404 error. The application and file are on the server that I have mapped to my client as K:
but when I try to pass the content by setting a property I get: error CS0103: The name 'Html0' does not exist in the current context’ when trying to use html0.Reload();