[Bug] Autoplay keeps getting turned back on #417

Closed
opened 2026-09-04 01:44:11 -04:00 by throwaway421 · 11 comments

Describe the bug

Unexpectedly and seeming at random, when I load a video, it begins playing enough though I've previously set Autoplay off in Player preferences. When I then go to Player preferences, Autoplay is checked (enabled) which is not how I had previously left it.

Steps to Reproduce

  1. Set Autoplay off by unchecking the Autoplay checkbox in Player preferences, and clicking Save preferences
  2. Browse through videos, usually opening them in new tabs, but not always.
  3. Eventually, a video will unexpectedly autoplay upon loading.
    3.5. Immediately going to Player preferences will have the Autoplay checkbox enabled.

Logs

I haven't noticed anything related in logs.

Screenshots

No response

Additional context

Chrome 109.0.5414.120 on Windows 7, single Incognito session.
Supermium 144.0.7559.256 on Windows 7, single Incognito session.

AI Policy

  • I have read the AI Policy and understand the disclosure requirements

AI usage

AI was not used to create this issue

Model(s) used

No response

Tool(s) used

No response

How was AI used?

No response

### Describe the bug Unexpectedly and seeming at random, when I load a video, it begins playing enough though I've previously set Autoplay off in Player preferences. When I then go to Player preferences, Autoplay is checked (enabled) which is not how I had previously left it. ### Steps to Reproduce 1. Set Autoplay off by unchecking the `Autoplay` checkbox in Player preferences, and clicking `Save preferences` 2. Browse through videos, usually opening them in new tabs, but not always. 3. Eventually, a video will unexpectedly autoplay upon loading. 3.5. Immediately going to Player preferences will have the `Autoplay` checkbox enabled. ### Logs I haven't noticed anything related in logs. ### Screenshots _No response_ ### Additional context Chrome 109.0.5414.120 on Windows 7, single Incognito session. Supermium 144.0.7559.256 on Windows 7, single Incognito session. ### AI Policy - [x] I have read the [AI Policy](https://github.com/iv-org/invidious/blob/master/AI_POLICY.md) and understand the disclosure requirements ### AI usage AI was not used to create this issue ### Model(s) used _No response_ ### Tool(s) used _No response_ ### How was AI used? _No response_
Owner

Can't reproduce

Can't reproduce <video src="/attachments/f1e5bc21-7d41-4ae8-9079-227309f0a88a" title="2026-09-04 02-01-56" controls></video>
Author

@Fijxu wrote in #417 (comment):

Can't reproduce

Unfortunately, I haven't noticed a deterministic "do this to make it happen immediately for sure" set of steps. It just keeps happening, unexpectedly.

What sort of information should I try to collect to help diagnose it?

@Fijxu wrote in https://git.nadeko.net/Fijxu/invidious/issues/417#issuecomment-9309: > Can't reproduce Unfortunately, I haven't noticed a deterministic "do this to make it happen immediately for sure" set of steps. It just keeps happening, unexpectedly. What sort of information should I try to collect to help diagnose it?
Author

It just happened again. Is there some way I could set up a userscript to auto-log the values of local storage and cookies? After all, it's not like I'd know to go and check their values before running into a video that unexpectedly begins autoplaying.

It just happened again. Is there some way I could set up a userscript to auto-log the values of local storage and cookies? After all, it's not like I'd know to go and check their values _before_ running into a video that unexpectedly begins autoplaying.
Owner

No idea, sorry, but localStorage only holds this values (nothing related to autoplay):

image

No idea, sorry, but `localStorage` only holds this values (nothing related to autoplay): ![image](/attachments/b4afea65-f14c-41f9-9b59-1d7882a795aa)
Author

Well, I've made a bizarre discovery: the cookie seems to get reset if I load or reload a video page while Chrome dev tools are open for that video page. Only video pages - having dev tools open for a channel page, for example, doesn't cause it. Chrome 109.0.5414.120 and Supermium 144.0.7559.256

I don't think this has to do with a setting in Chrome's dev tools. For example, I don't get this kind of cookie loss on other websites when dev tools are open.

I also don't think this explains the seemingly random times I experienced the settings reset...I'm pretty sure I wasn't opening dev tools on video pages. But, at least it is a 100% reproducible case, for me.

This doesn't happen in Firefox.

Well, I've made a bizarre discovery: the cookie seems to get reset if I load or reload a video page while Chrome dev tools are open for that video page. Only video pages - having dev tools open for a channel page, for example, doesn't cause it. Chrome 109.0.5414.120 and Supermium 144.0.7559.256 I don't _think_ this has to do with a setting in Chrome's dev tools. For example, I don't get this kind of cookie loss on other websites when dev tools are open. I also don't think this explains the seemingly random times I experienced the settings reset...I'm pretty sure I wasn't opening dev tools on video pages. But, at least it is a 100% reproducible case, for me. This doesn't happen in Firefox.
Owner

I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that!

I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that!
Author

@Fijxu wrote in #417 (comment):

I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that!

Reproduces with a fresh profile and all default settings

@Fijxu wrote in https://git.nadeko.net/Fijxu/invidious/issues/417#issuecomment-9322: > I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that! Reproduces with a fresh profile and all default settings
Owner

@throwaway421 wrote in #417 (comment):

@Fijxu wrote in #417 (comment):

I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that!

Reproduces with a fresh profile and all default settings

You have your cookies disabled by any chance?

@throwaway421 wrote in https://git.nadeko.net/Fijxu/invidious/issues/417#issuecomment-9323: > @Fijxu wrote in #417 (comment): > > > I'm sure this has to be something with your extensions, I thought you had no extensions enabled on the Incognito window so check that! > > Reproduces with a fresh profile and all default settings You have your cookies disabled by any chance?
Author

@Fijxu wrote in #417 (comment):

You have your cookies disabled by any chance?

No, it was a fresh default profile with default settings, which is 3rd party cookies allowed.

@Fijxu wrote in https://git.nadeko.net/Fijxu/invidious/issues/417#issuecomment-9326: > You have your cookies disabled by any chance? No, it was a fresh default profile with default settings, which is 3rd party cookies allowed.
Owner

well, since it's impossible for me to debug it, I can't solve it. If you know how to use developer tools, please record a HAR file so I can import it in my browser and inspect the responses and errors. Thanks ;3

Feel free to create a throwaway account on the instance if it also happens with an account.

well, since it's impossible for me to debug it, I can't solve it. If you know how to use developer tools, please record a HAR file so I can import it in my browser and inspect the responses and errors. Thanks ;3 Feel free to create a throwaway account on the instance if it also happens with an account.
Owner

Closing as you are the only one reporting this issue and I can't reproduce it. I haven't received a single E-mail or other people complaining about this, so I'm sorry, I have no idea.

Closing as you are the only one reporting this issue and I can't reproduce it. I haven't received a single E-mail or other people complaining about this, so I'm sorry, I have no idea.
Fijxu closed this issue 2026-10-09 20:10:06 -03:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Fijxu/invidious#417
No description provided.