ASP.Net, a C # web application, how to play client side video

I have a cloud based ASP.Net C # web application. I want a web application to call a video sitting on a private client network to play.

The client will have videos stored on their file server, which is located on their private network. I want to play the video (via the UNC path to the video stored on the client’s private network), the path (\ fileserver \ videos \ xxxx.mp4) will be displayed on the page as hyper when the user clicks on this link that the video will play in any compatible media player on the client PC. The client PC and file server are on the same network. The cloud-based application is hosted on another network that does not have a link to a network where the client PC and file server are only through the web interface.

I don’t want to upload videos to the web server and transfer them back, which is easy and works due to bandwidth problems. I just want to save the location of the video and call it for playback through the web application (URL / path to the file that can be clicked on the page)

Is there a way for a web application to access files / resources on the client side, in which case I want to play the video. If there is no functionality, there is work around, please help .....

+4
source share
2 answers

you can use the HTML 5 element to play the video, is that what you meant?

 <video width="320" height="240" controls>
     <source src="\fileserver\videos\xxxx.mp4" type="video/mp4">
     <source src="\fileserver\videos\xxxx.ogg" type="video/ogg">
     Your browser does not support the video tag.
   </video>
0
source

window.requestFileSystem() .
ActiveX IE Flash/Java

0

Source: https://habr.com/ru/post/1543741/


All Articles