mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 04:43:44 +08:00
7ff58f1787
Meta topic: https://meta.discourse.org/t/secure-media-uploads-expire/140894 This fixes the issue where if secure media was enabled, audio and video files would do an initial load using the presigned URL for the media to get metadata information e.g. duration of track/video. However this started the expiry countdown for the URL, so when a user pressed play on the media after 15 seconds the media would be expired and AWS would return a 403 error. We do not preload media if secure media is enabled. Otherwise we just set the preload type to "metadata" which is the browser default anyway. |
||
---|---|---|
.. | ||
discourse-markdown | ||
discourse-markdown-it.js.es6 |