This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Aleksey Bogdanov e216a98f74
FIX: stop youtube autoplay on scrollups (#19951)
When a user pauses a youtube video and scrolls up high enough to load
new posts, the video either rewinds or restarts depending on the browser.
The problem is solved by patching virtual-dom to handle element prepends
without reordering old elements.

Long-term, Discourse intends to move away from the vdom/widget implementation, so this is intended as a short-term solution. More context at https://meta.discourse.org/t/57692

Co-authored-by: David Taylor <david@taylorhq.com>
2023-02-09 10:46:10 +00:00
..
app Revert "FIX: IconPicker option to display only available icons (#20226)" (#20227) 2023-02-09 15:20:34 +11:00
config Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
lib DEV: Add dark theme support to QUnit (#19014) 2022-11-17 18:44:44 +01:00
public/assets/scripts DEV: Enable @cached decorator for themes and plugins (#19261) 2022-11-30 15:53:54 +00:00
scripts Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
tests FIX: stop youtube autoplay on scrollups (#19951) 2023-02-09 10:46:10 +00:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js FIX: stop youtube autoplay on scrollups (#19951) 2023-02-09 10:46:10 +00:00
jsconfig.json DEV: Add discourse/tests to jsconfig (#19031) 2022-11-15 11:33:56 +00:00
package.json FIX: stop youtube autoplay on scrollups (#19951) 2023-02-09 10:46:10 +00:00
testem.js DEV: Move shouldLoadPluginTestJs() (#19045) 2022-11-16 11:07:58 +01:00