4a2e9bf1c7
## Issue 4831: Videos start muted on Desktop (fresh install) and web (sometimes resets) This covers the Desktop fresh install and Web fresh session (incognito) part. It doesn't cover the "sometimes reset" part as I don't know how to reproduce that. ## Change `sessionStorage` is always empty when that piece of code is called, even for non-fresh Desktop and even in Brave. We now fallback to `1` when `volume` is `null`. Still not sure the purpose of that code, but leaving it there just in case something relies on it. ## Tests [/] Desktop fresh-install is not muted. [/] Desktop return session restores previous volume level. [/] Web* fresh session (cleared data) is not muted. [/] Web return session restores previous volume level. *Web = Chrome, Firefox and Brave. |
||
---|---|---|
.. | ||
app.js | ||
blocked.js | ||
comments.js | ||
content.js | ||
notifications.js | ||
reactions.js | ||
rewards.js | ||
search.js | ||
settings.js | ||
subscriptions.js | ||
user.js |