discourse/test/javascripts
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
..
acceptance DEV: Make image resize controls more resilient (#8867) 2020-02-06 17:19:24 +02:00
admin DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
components DEV: adds afterRender decorator (#8864) 2020-02-10 08:13:13 +01:00
controllers DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures FIX: Warn users of overwriting new topic draft (#8841) 2020-02-04 09:59:56 -06:00
helpers DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
initializers FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00
lib FIX: Disable preloading audio + video when secure media enabled (#8922) 2020-02-11 11:49:58 +10:00
mixins DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
models UX: Use '-' as default category slug (#8607) 2020-01-23 15:44:29 +01:00
utils DEV: adds afterRender decorator (#8864) 2020-02-10 08:13:13 +01:00
widgets DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
plugin_tests.js.erb
test_helper.js DEV: select-kit 2 (#7998) 2020-02-03 14:22:14 +01:00