skip to Main Content

I have over 100+ short videos for my project and I need to make direct public links to each of them. I’m not looking to embed videos. I’m looking for links I can make like on the Apache server but a faster process. Similar to this: http://clips.vorwaerts-gmbh.de/VfE_html5.mp4

2

Answers


  1. There are many different server technologies which will allow you serve static content like mp4 files.

    For example node.js supports simple static servers – https://expressjs.com/en/resources/middleware/serve-static.html

    A very simple example form the above link can be as basic as:

    var express = require('express')
    var serveStatic = require('serve-static')
    
    var app = express()
    
    app.use(serveStatic('public/ftp', { 'index': ['default.html', 'default.htm'] }))
    app.listen(3000)
    

    You just need to set the correct directory on your server in the app.use.. line.

    Note this will not support HLS or DASH, which are adaptive bit rate streaming technologies (see here: https://stackoverflow.com/a/42365034/334402). For that you will need a specialised streaming server, but it sounds like your use case is simpler than this.

    Login or Signup to reply.
  2. You can try Amazon S3 Bucket.
    You just need to upload your video files over there,make some configurations and you are good to go.

    Speed will be pretty fast as it is hosted on S3.
    You can upload files through this tutorial.
    https://docs.sumerian.amazonaws.com/tutorials/create/beginner/s3-video/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search