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

[Bug] Media playback aborted due to corruption or browser with unsupported features #5005

Open
yeranya opened this issue Oct 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@yeranya
Copy link

yeranya commented Oct 14, 2024

Describe the bug
When navigating to the video with the video ID of yPoGXLKz7TU, the player loads successfully, but then when trying to play it displays the message The media playback was aborted due to a corruption problem or because the media used features your browser did not support.

Steps to Reproduce

  1. Ensure preferred video quality is set to HD720 (it will fail to play regardless, but for me the error message itself only appears with this being set to HD720)
  2. Navigate to the video with the ID yPoGXLKz7TU

Screenshots
image

Additional context
Browser: Firefox Release 130.0.1 for x86_64 Linux
Operating System: Artix Linux w/ kernel 6.6.52-1-lts

@yeranya yeranya added the bug Something isn't working label Oct 14, 2024
@yeranya yeranya changed the title Media playback aborted due to corruption or browser with unsupported features [Bug] Media playback aborted due to corruption or browser with unsupported features Oct 14, 2024
@unixfox
Copy link
Member

unixfox commented Oct 14, 2024

#4947

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2024
@yeranya
Copy link
Author

yeranya commented Oct 14, 2024

To me, it doesn't look like that issue you linked is what is causing this. The error I get is different, and every other video plays perfectly fine; it also looks to appear regardless of what instance I try (assuming the instance is working at that time; many haven't been, so my sample size was a bit small). I'm not exactly familiar with this software though, so apologies if I am mistaken.

@unixfox
Copy link
Member

unixfox commented Oct 14, 2024

please try in a local invidious instance

@yeranya
Copy link
Author

yeranya commented Oct 14, 2024

I set up an Invidious instance on my home server, and it is having this issue too; I checked, and any other video will play fine. When navigating to the video, this appeared in the logfile on the server:

Exception: Expected Hash for #[]?(key : String), not String (Exception)
  from /usr/share/crystal/src/json/any.cr:125:7 in '[]?'
  from /usr/share/crystal/src/json/any.cr:134:5 in 'dig?'
  from src/invidious/videos/storyboard.cr:36:23 in 'from_yt_json'
  from src/invidious/videos.cr:127:12 in 'storyboards'
  from src/invidious/routes/api/v1/videos.cr:210:18 in 'storyboards'
  from src/invidious/routing.cr:229:5 in '->'
  from lib/kemal/src/kemal/route.cr:12:26 in '->'
  from src/invidious/helpers/handlers.cr:30:5 in 'process_request'
  from lib/kemal/src/kemal/route_handler.cr:17:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:157:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:146:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:70:5 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/ext/kemal_static_file_handler.cr:162:16 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from src/invidious/helpers/logger.cr:17:35 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
  from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call'
  from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'process'
  from /usr/share/crystal/src/http/server.cr:521:5 in 'handle_client'
  from /usr/share/crystal/src/http/server.cr:451:5 in '->'
  from /usr/share/crystal/src/fiber.cr:143:11 in 'run'
  from /usr/share/crystal/src/fiber.cr:95:34 in '->'
  from ???

These messages don't show up when watching other videos.

@unixfox unixfox reopened this Oct 14, 2024
@DerKaffeeschluerfer
Copy link

I've got the same issue. Nothing is playing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants