Skip to content

Add .opus to audio source extension detection #1854

Description

@reasonset

Current Behavior:

If a source file has the .opus extension, it cannot be identified as an audio file.
If a HEAD request to the server returns audio/ogg, the file can be played back as audio as a fallback; however, if the implementation incorrectly returns audio/opus, an error will occur.

Expected Behavior:

If the URL has the .opus extension, it should be identified as audio.

Steps To Reproduce:

  1. Specify a URL with the .opus extension in Vidstack's src

repro: https://codeberg.org/reasonset-tiny/repro-vidstack-opus-extension-issue

Environment:

  • Framework: Vanilla
  • Meta Framework: None
  • Node: None
  • Device: Vivaldi, Librewolf, Cromite, Waterfox
  • OS: Linux, ColorOS16

Anything Else?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions