discourse/test
Martin Brennan 7ff58f1787
FIX: Disable preloading audio + video when secure media enabled (#8922)
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.
2020-02-11 11:49:58 +10:00
..
javascripts FIX: Disable preloading audio + video when secure media enabled (#8922) 2020-02-11 11:49:58 +10:00
stylesheets Manage qunit via yarn. 2018-09-11 15:07:28 +08:00
run-qunit.js DEV: Correct error message check in run-qunit 2019-12-12 14:06:06 +00:00
smoke_test.js DEV: Restore { visible: true } for login button in smoke test 2020-01-07 12:58:08 +00:00