Videos autoplaying for users with P2P media enabled.
Summary
Videos are auto-playing for users with P2P media disabled.
Steps to reproduce
- Either get access to an account with P2P enabled, or on a test env, alter the user object. Because of #2195 (closed) you will likely not be able to just turn it on on a fresh user.
- Post a video
- Scroll, observe autoplay
Platform information
Cross-platform web
What is the current bug behavior?
Videos auto-play.
What is the expected correct behavior?
Videos should not auto-play.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)