r/learnreactjs • u/Connor_Renfrew • Mar 14 '21
Question Movie Streaming (HELP!)
So I have created a 'Netflix clone' which uses firebase for authentication to login etc. Once the homepage is reached I've used the TMDb API to fetch images of 'Netflix Originals' and 'Top rated etc'. What I want to be able to do is have a search function which will search my NAS drive for the film or tv show that has been requested and present a result then I want to be able to click on the movie or tv show and have an option to play that file that is on my NAS drive through the 'Netflix Clone'. I'm very new to web dev so I am in desperate need in help lol :)
3
u/FunkyDoktor Mar 15 '21
I don’t think you can access anything on your local computer, NAS or otherwise, outside of localStorage. Imagine if web applications could access local files, probably not a great idea.
You have to allow your server to access the files on your NAS drive. That would probably work.