How can I get video to stream from my NC [SOLVED]?

Don’t know if you have found a solution, but this is what we did to get progressive playback to work on nginx.

In your server node for your nextcloud site in nginx, add this node (adapt to your liking, this is a straight copy from one of our configs)

location ~ \.mp4$ {
more_clear_headers "Date";
more_clear_headers "Last-Modified";
more_clear_headers "Cache-Control";
more_clear_headers "Vary";
more_clear_input_headers "Accept-Encoding";
more_set_headers "Cache-Control: no-store";
more_set_headers "Last-Modified: $date_gmt";
if_modified_since off;
etag off;
gzip off;
mp4;
mp4_buffer_size 30M;
mp4_max_buffer_size 200M;
send_timeout 10m;

proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;

fastcgi_buffering off;
fastcgi_keep_conn on;
fastcgi_force_ranges on;
fastcgi_read_timeout 10m;

include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass php;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
fastcgi_cache MYAPP;
fastcgi_cache_valid 200 1d;
}

You need to make sure you have the mp4 module compiled into your Nginx, and you may have to specify your own cache settings and fastcgi php handler. So this won’t work straight-off-the-bat until you’ve customised it to your environment. The key setting is simply the command ‘mp4;’, you will know if it works or not by just putting it into a test location section and restarting nginx, if no errors, then you are good to go, otherwise as specified earlier, you will need to include the module in the nginx build or alternatively source a build from a repo which already includes it.

Hope the above helps you @akeif.