Streaming video with Node.js and React: a step-by-step guide
Vložit
- čas přidán 18. 01. 2023
- 🔥Welcome to the Ultimate Guide to building a Video Streaming App with Node.js Backend and React Front-end! In this in-depth tutorial, I will walk you through every step of the process. Follow along as we dive deep into the world of video streaming and learn how to harness the power of Node.js and React to create a cutting-edge web application.
▶️ Video Timestamps:
1:45 Setting up the Node.js server
11:15 Creating the React component
21:00 Wrapping up
🌟Don't forget to give this video a thumbs up if you found it helpful, and subscribe to the channel for more awesome tutorials like this one!
📚 Resources & Links:
Node.js: nodejs.org/
React: reactjs.org/
GitHub Repository: github.com/Nitij/node-video-s...
🌐 Be sure to follow us on social media for updates and more tutorials:
🔴 My Channel: / coderadiance
🔴 View Playlists: / coderadiance
🔴 My Github: github.com/Nitij
🎮 Join our community on Discord!
Our Discord community is the perfect place to meet other developers, share your projects, and get help with any problems you encounter. Join our Discord server now and become a part of this amazing community: Discord: / discord
🔔 Subscribe to the channel!
By subscribing, you'll get notifications for all my latest videos and tutorials, ensuring you never miss a single tip, trick, or piece of advice. Click the link below to subscribe: / coderadiance
💬 If you have any questions, suggestions, or feedback, please leave a comment below. I'd love to hear your thoughts on this tutorial, and I'm always happy to help out if you need any assistance.
#NodeJS #React #VideoStreaming #WebDevelopment #Tutorial
Happy coding! 🎉 - Věda a technologie
Thank you thank you thank you! This was an excellent tutorial :D
great video, your teaching technique is best... Thank you ❤
Excellent information. Thank you very much!
Thank you very much sir, please can you provide as a link of the code also if this streaming is on real time in lan or widely ?
Thanks in advance
Helped a lot. Thanks
Just. Amazing. Thanks a lot 🙂
You really help me a lot ... Thank you :)
do you need to pass the range header from front end or it loads entire video from api as there are two options
In production where I can put the videos also without bufferless ?
Can we use this api for mobile development
am i missing something or is the chunksize set to be the entire video? could we not set the chunksize ourselves using something like 10**6 for a megabyte etc
감사합니다 !!
Can you please make video for range header also. When we send data to the frontend in chunks
Thank you very much, dooset daram
thanks you
great video , good luck
is this possible with python?
why the -1 and the +1 ?
I have an issue if the video is big. When the player is in buffering state and I click on the video, it displays an error on the browser, "AbortError: The fetching process for the media resource was aborted by the user agent at the user's request." Any idea why it is happening? Thanks for the video.
You have to dertermin your chunksize for example : const chunkSize = 10 ** 6
Then listent on that readStream event "data" with your readStream and fire a callback function that give you that chunk of data and what you have to do is sending that chunk with "res.write(chunk)". I think the fact that with the pipe method, it can't handle a large file or something like that, with a small file under 2GB, it's great !
Anyway, thank for his video of this chanel, it's a great tut video !
Thanks
I guess it's not secure beacuse we can download video from network tab
What if I have authentication too on my endpoint?
If you haven't already done. Simply put token in header or token, and the middleware runs through auth, on subsequent partial chunks doesn't seem to be bothered with req.
@@bisw4sh I can't send token in header in the hardcoded url in the src of the video tag.
💯
Hi bro, nice work! I need to use this method but with jwt auth and block user download, could you help me? +1 sub! 😄
very helpful bro,, Can you provide me code please ?
Sure, here you go. github.com/Nitij/node-video-stream
it doesnt work with movies, it just stops when you skip too far
?
what is range, what is stat? you are just simply pasting code, Where is explanation?
Ahh, we can say that you are just creating whole functionality not the explained logic.