Read Videos from local path

Read Videos from local path

I am currently using the asp mvc method and wondering if I can do read video in my local path using c# as my backend. Is there any suggested reference code how to get the videos. if ever that this possible I am thinking that create a c# code to get the video then use ajax to fetch it then pass to my html to display.

I am currently using the asp mvc method and wondering if I can do read video in my local path using c# as my backend. Is there any suggested reference code how to get the videos. if ever that this possible I am thinking that create a c# code to get the video then use ajax to fetch it then pass to my html to display.

Any suggestion/comments TIA.

Temporary here is my working code but this time the video was loaded from project folder named "content" and my aim is to put the video e.g from my local drive C:

 <video id="video" controls preload="metadata" style="width:100%; height:100%">
        <source src="~/Content/Videos/main.mp4" type="video/mp4">
      @*<source src="C:/www/myProj.com/Content/Videos/main.mp4" type="video/mp4"> -----I want to read the video from this path   *@                   
  </video>


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

ASP.NET MVC Application with JQuery, AJAX

Let's have a sample example: We have a submit button in our JQuery AJAX MVC application. Let's try to show a message when it is clicked. ASP.NET MVC Application - Using JQuery, AJAX

How to implement JWT Authentication in ASP.NET Core 3.0 API with C#

In this tutorial we'll go through a simple example of how to implement JWT (JSON Web Token) authentication in an ASP.NET Core 3.0 API with C#

Add asp.net Identity in empty project

LIKE | COMMENT | SHARE | SUBSCRIBE Today, in this tutorial you will see the process of adding an ASP.NET Identity to the ASP.NET Web Application developed in...