Hi. I’m using Mattermost v5.20.0 with Nginx. When starting video playback of a video file (that was uploaded as an attachment in a channel) through the in-browser HTML5 player, my browser first downloads the whole video and then starts the playback.
accept-ranges: bytes cache-control: private, no-cache content-disposition: attachment;filename="z1.webm"; filename*=UTF-8''z1.webm content-length: 20488755 content-security-policy: Frame-ancestors 'none' content-type: video/webm date: Thu, 26 Mar 2020 11:20:28 GMT expires: 0 last-modified: Thu, 26 Mar 2020 10:27:38 GMT server: nginx/1.16.1 status: 200 strict-transport-security: max-age=15552000 vary: Accept-Encoding x-content-type-options: nosniff x-frame-options: DENY x-request-id: ccmkx4qnt3b9dg69ofcmpyy9ny x-uncompressed-content-length: 20488755 x-version-id: 184.108.40.206.20.2.1aaf5455b9503a276a82e78c93a8677d.false
Is there a way to make the player stream the video while it is still downloading?
Also, when downloading video files (i.e. not using the builtin player), is there a way to disable gzip compression so that browser receives the Content-Length header? I don’t want to disable gzip completely, I’d like to continue serving JS etc. gzipped.