Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Playback Blocked by Browser. #3160

Open
CrazyMew37 opened this issue Oct 8, 2024 · 11 comments
Open

Media Playback Blocked by Browser. #3160

CrazyMew37 opened this issue Oct 8, 2024 · 11 comments

Comments

@CrazyMew37
Copy link

This bug happens on Brave Browser, where whenever I watch a video, the playback will just suddenly stop sometimes. It's not consistent with every video but every video affected stops playing at a certain time. According to the console, the error is 'ERR_BLOCKED_BY_CLIENT'. an HTTP 400 Bad Request Error, and a Video.js 'CODE:3 MEDIA_ERR_DECODE'.

Steps to reproduce the behavior:

  1. Go on a random video
  2. Watch said video
  3. The video may stop playing at a certain time

Expected behavior
I expect the video to play fully.

Screenshots
image

System Configuration

This is on the Odysee website.
I'm running Brave Version 1.70.123 (Chromium 129.0.6668.89)
My OS is Windows 11 23H2 (22631.3958)

Additional context
Add any other context about the problem here.

@tzarebczan
Copy link
Contributor

Thanks for the report, and sorry to hear that's happening. If you click the retry button in the top left, does it end up playing?

@CrazyMew37
Copy link
Author

Uh, no. The video still doesn't play.

@tzarebczan
Copy link
Contributor

How often would you say it happens? Does it also happen in other browsers? Are you watching at 1x or a faster speed?

@tzarebczan
Copy link
Contributor

Also, if you refresh, does it work then?

Would be great to pick this up with you via hello@odysee.com so we can communicate more readily.

@tzarebczan
Copy link
Contributor

Another way to debug this is to check the recent players and click the file that was playing to see the logs here: chrome://media-internals/

@CrazyMew37
Copy link
Author

It happens with some videos, and it doesn't happen with others. I'd say it happens about 30% of the time. I'm watching at 1x speed.

Refreshing the page does not work.

As for the recent players, this is what I got as a log (via text file);
media-internals.txt

@CrazyMew37
Copy link
Author

Small update: I think a potential issue is that I'm running an audio website called 'My Noise' alongside the video. When I turned off its playback, the video I was using to test the bug suddenly started playing. It may be possible that the video is just having conflicts with that website. Only issue is that I need that website and its audio on. Currently, I'm solving the issue temporarily by using Vivaldi instead of Brave, which doesn't seem to have this issue.

@tzarebczan
Copy link
Contributor

Thanks for the addtional details. Sounds like some browser bug that might be causing this - wonder if it happens with other sites that have audio/video, or only that one. Glad things are working better now - going to close this for now.

@CrazyMew37
Copy link
Author

Actually, I'd reopen it. The problem persists on Vivaldi, too. I thought it didn't but it does.

The odds seem to be a lot lower (I'd say about 5-10% on Vivaldi, but the issue still seems to crop up. If I come across the issue again, I'll post the logs and stuff.

@CrazyMew37
Copy link
Author

Thanks for the addtional details. Sounds like some browser bug that might be causing this - wonder if it happens with other sites that have audio/video, or only that one. Glad things are working better now - going to close this for now.

I have an instance of the media playback stopping on Vivaldi.

image
odysee.com-1728705746047.log
media-internals (1).txt

Refreshing the page seems to have solved the problem, but I still have some items in case if you need it.

@tzarebczan tzarebczan reopened this Oct 16, 2024
@tzarebczan
Copy link
Contributor

Are you also playing the My Noise on Vivaldi, or in the other browser at the same time? If you don't play that site, do things work normally?

We're not able to reproduce the issue on our end unfortunately, so it would be hard to debug/fix. We can try a couple things and send you a test site to try it on, give us a few days. Can you reach out to us at hello@odysee.com directely to coorindate this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants