简体   繁体   中英

Custom Web part in sharepoint 2013 to display videos from local computer

can we make custom web part to show videos from physical location? Eg if we upload videos to C:\\videos folder and show it in sharepoint site? I mean where my web front server is installed there in c drive if i place all my videos than is it possible?

No, you can't. Your browser default security scheme doesn't allows to read local files.

Also, consider other SharePoint users: should they access files onto your machine?

EDIT Accessing web server local files is possible, but they must be kept inside your virtual directory, or you'll need to write custom code (an .ASHX file, maybe) to read an arbitrary file and redirect its contents to your video player.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM