In this article, we’ll be building a video streaming app using Nuxt.js and Node.js. Specifically, we’ll build a server-side Node.js app that will handle fetching and streaming videos, generating thumbnails for your videos, and serving captions and subtitles.

Videos work with streams. This means that instead of sending the entire video at once, a video is sent as a set of smaller chunks that make up the full video. This explains why videos buffer when watching a video on slow broadband because it only plays the chunks it has received and tries to load more.

This article is for developers who are willing to learn a new technology by building an actual project: a video streaming app with Node.js as the backend and Nuxt.js as the client.

  • Node.js is a runtime used for building fast and scalable applications. We will use it to handle fetching and streaming videos, generating thumbnails for videos, and serving captions and subtitles for videos.
  • Nuxt.js is a Vue.js framework that helps us build server-rendered Vue.js applications easily. We will consume our API for the videos and this application will have two views: a listing of available videos and a player view for each video.

Prerequisities

  • An understanding of HTML, CSS, JavaScript, Node/Express, and Vue.
  • A text editor (e.g. VS Code).
  • A web browser (e.g. Chrome, Firefox).
  • FFmpeg installed on your workstation.
  • Node.jsnvm.
  • You can get the source code on GitHub.

#nuxt #node #express

Building A Video Streaming App With Nuxt.js, Node And Express
3.10 GEEK