I am currently developing a small Angular application that allows users to view a collection of videos saved locally. The goal is for users to be able to save this collection in order to revisit these videos at a later time. The paths of the videos are stored in a JSON file, so I only have access to the string path format like this:
C:\My Videos\UploadedVideo.mp4
However, when I pass this path to the src attribute of a video HTML element, the video does not play. I have come across workarounds where an input element is used to pass the file to the video element, but this approach doesn't suit my situation as I already have the file path and do not want the user to repeatedly select the videos.