title: video and images with nodejs
body: <p>how do I display images and videos with nodejs like instagram does.
  When the index route is hit, it searches for all posts and send to the client and from my ejs template I display the images and videos by providing their path to either video tag or img tag accordingly. The images are displayed just fine. It is the other way for the videos as they are displayed as image( i.e video preview) an image scene of the video is displayed and that is it. Please how can I get around this. I searched online and the only solution I came around was to send the video as chunck. This approach uses a particular route to detect the requested video and then sends it as chunk ( the client gets it in bits).
  In my scenario All the videos and images are made available once the route is hit. Is there a solution for my request ?</p>