• kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    303
    arrow-down
    13
    ·
    edit-2
    1 year ago

    Firefox doesn’t implement the AudioData API, which is probably necessary for the waveform viewer and cropping tool Discord presents in the soundboard management UI.

    Not everything is about Chrome DRM yall.

    • redcalcium@lemmy.institute
      link
      fedilink
      English
      arrow-up
      65
      arrow-down
      7
      ·
      edit-2
      1 year ago

      Yet another experimental API only supported by Chrome. Chrome has always been like this, implementing experimental API that hasn’t been finalized yet. You might say they’re innovating to support new technologies, but actually it’s more like they’re doing whatever they pleased, as demonstrated by their removal of jpeg xl support despite web communities plea not to do so (a new more efficient image compression, but not made by Google so screw it), pushing manifest V3 and ad topics, and recent push for web environment integrity API.

      • ferralcat@monyet.cc
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        I think Moz helped write and supports this. I even think it’s (partially enabled in nightly?)

        Not sure if these built in decoders are supported though. Seems a bit dangerous to expose native codecs directly from the web to be honest, since you’ll end up with wildly varying support across browsers.

      • lud@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        Firefox and Safari is also implementing experimental features often.

      • Anonymousllama@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I remember ages ago websites were all focused on “works best on Internet Explorer” or “please use Netscape for the best experience”

        We managed a good solid decade after that where browsers all somewhat caught up to each other and now we’re going back that way again, with each website just YOLO implementing APIs that aren’t fully supported (with no polyfils or fallbacks)

        When you did that back in IE7/8/9, you missed out on rounded corners or drop shadows, now whole parts of apps won’t work unless you’re on chrome 🤯

    • Prethoryn Overmind@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      26
      ·
      1 year ago

      Thank fucking people like you. The average Lemmy user just knows everything.

      I have seen so many Lemmy users think they are better than Reddit users. Truth is, you are all fucking ass holes you are just different kinds of ass holes.

      None of us agree with Google’s choices but for fucks sake not everything is because Google chose it.

      Sometimes it’s just in the damn browser. Like fuck off.

      I use Chrome and Firefox and have two different online personas with both.

      • limerod@reddthat.com
        link
        fedilink
        English
        arrow-up
        29
        arrow-down
        4
        ·
        1 year ago

        If you clicked the link. It says experimental technology. It’s not mozilla’s fault Chrome is adding features that are not standard. Sites like Discord for utilizing non standard API’s.

    • Kayn@dormi.zone
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      23
      ·
      1 year ago

      It appears the Reddit users that don’t read further than the title have arrived on Lemmy.

      • Pfnic@feddit.ch
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        1 year ago

        Care to elaborate? I can’t make sense of your response

      • Franklin@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        1 year ago

        Yeah unfortunately it looks like they are here too, oh well at least it’s money out of spez’s hands

      • d3Xt3r@lemmy.world
        link
        fedilink
        English
        arrow-up
        33
        arrow-down
        1
        ·
        edit-2
        1 year ago

        Because Firefox is like a democracy, they prioritize work based on number of votes on issues/feature requests. The AudioEncoder API has literally just one vote, and the overall WebCodecs API that it’s a part of only has five votes. This shows that there’s very little demand for it, meaning very few sites actually use this (that or the vast majority of Firefox users don’t use/need this feature). Why bother focusing your efforts on implementing something that most users don’t care about? The higher priority things that most Firefox users care about is stuff like performance, and Mozilla have been making some good progress too on that front.

        • lud@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          The thing isn’t only about votes. Both APIs are top priority but there are blocked and depends on other stuff that also needs to be fixed or implemented.

          • d3Xt3r@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            AudioEncoder (bug 1749046) doesn’t really have any dependencies or blockers, as far as I can tell. If there are, then you (or whoever has access) should update Bugzilla and add the dependency there.

            • lud@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Honestly, I found bugzilla hard to read, so I am not sure but it looks like the WebCodecs API needs to be implemented first. And that one has a bunch of other stuff, I think.

      • redcalcium@lemmy.institute
        link
        fedilink
        English
        arrow-up
        19
        arrow-down
        1
        ·
        edit-2
        1 year ago

        This is an experimental API that hasn’t been finalized yet. Firefox devs has limited engineering resource and simply can’t keep up with Chrome’s push to implement experimental/proposal API. Safari also hasn’t implemented this yet because they also usually wait until the API finalized, which can take quite a while.

    • kibiz0r@midwest.social
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      4
      ·
      1 year ago

      Electron is not just a browser. It’s more like a native app framework that just happens to use HTML and CSS to render UIs. You can do anything the OS lets you do, not just what a browser environment would let you do.

      • OskarAxolotl@lemmy.world
        link
        fedilink
        English
        arrow-up
        42
        arrow-down
        11
        ·
        1 year ago

        Electron is an unholy fusion of Chromium and Node.JS. Nothing more, nothing less. It doesn’t ‘just happen’ to use HTML and CSS. It’s literally just a browser with most of the default browser UI being hidden. Something like React Native would better fit your definition.

        • MotoAsh@lemmy.world
          link
          fedilink
          English
          arrow-up
          19
          arrow-down
          5
          ·
          1 year ago

          It’s not literally just a browser. It’s literally just a web engine with a full set of OS calls hooked in. It is not a browser in the same way GNOME is not an OS. A browser comes with a whole lot more than a web engine, so calling it “a browser” is wrong both technically and colloquially.

          • OskarAxolotl@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            edit-2
            1 year ago

            Electron is a framework for building desktop applications using JavaScript, HTML, and CSS. By embedding Chromium and Node.js into its binary, Electron allows you to maintain one JavaScript codebase and create cross-platform apps that work on Windows, macOS, and Linux — no native development experience required.

            Electron docs

            Electron is so much more than “just a web engine with a full set of OS xalls hooked in”. Ultralight and Sciter are frameworks that actually just happen to use HTML, CSS and JavaScript for UI development. They aren’t fully-fledged web browsers without a search box, they are tailor-made for app development.

            • MotoAsh@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Yea, that was less ideal word choice by me. The point is that part is ONLY an html/css engine, not a sandbox and web api implementation plus tons of extras and plugins like a browser.

              Very, VERY different animals, even if it used the exact same rendering engines as a browser.

        • kibiz0r@midwest.social
          link
          fedilink
          English
          arrow-up
          14
          ·
          1 year ago

          I’m on my lunch break from working on a React Native codebase, and I wouldn’t say RN fits that definition at all… but I think we’re just getting lost in semantics.

          My point was just that a web app running inside a browser has to abide by the rules and limitations set by the browser, whereas Electron flips that relationship – your app sets the rules and limitations of what can be done, and the web rendering process abides by whatever environment you create. You can do anything the OS permits. Even from inside a web context, if you want. You don’t need a browser-managed sandbox to mediate your interactions with the OS.

    • Shatter@lemmy.world
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      1
      ·
      edit-2
      1 year ago

      But probably Chromium right? They probably didn’t make all Discord functions work for Firefox as that would require some extra work probably.

  • FoxBJK@midwest.social
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    7
    ·
    1 year ago

    I’m a little baffled by this one. File upload isn’t exactly some new HTML5.1 feature or anything. There’s no good reason they can’t have this handled properly.

  • Farid@lemmy.world
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    9
    ·
    1 year ago

    There’s really no reason to be mad at them in this particular instance. Their client is Chromium-based (Electron) so they will optimize their new features for that engine first. There’s probably less than 5% users who Discord from browser, let alone Firefox, and I think I’m being generous with that number. Additionally, some things are harder to implement (or even impossible) in native web rather than Electron, that has all the NodeJS integrations.

    • ehrenschwan@feddit.de
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      20
      ·
      1 year ago

      File upload is not a chromium feature, it’s a super old basic feature. It’s just their pittiness and upcoming drm implications. I bet if you set your user-agent to chrome it woould work just fine.

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        32
        arrow-down
        7
        ·
        1 year ago

        Firefox doesn’t implement the AudioData API, which is probably necessary for the waveform viewer and cropping tool Discord presents in the soundboard management UI.

        Not everything is about Chrome DRM yall.

        Edited to add screenshot of spoofing user-agent on Firefox and getting an error:

        https://midwest.social/pictrs/image/4edb0d24-0c2a-4610-b7b2-eed07a3c7d24.png

        Here’s what happens when you spoof a Chrome user-agent.

        https://midwest.social/pictrs/image/d3b96401-956b-4eab-bc5c-64b0743feae4.png

        -kibiz0r@midwest.social

      • themoonisacheese@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 year ago

        This dialog doesn’t do just file upload, after you upload you can cut the sound file into a 4-second clip, inside the client. My bet is that it might technically be possible to do it in Firefox, but not with the same exact code as with chromium, and thus they decided they don’t care.

        • redcalcium@lemmy.institute
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          1 year ago

          You’re probably right. A modern browser that supports webassembly can do literally anything, implementing the missing AudioData functionality should be possible with enough development effort, but it’s not important enough for them to make this particular feature works on Firefox.

      • Farid@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        2
        ·
        1 year ago

        I haven’t used soundboard yet, but I’m pretty sure it isn’t “just” an HTML5 file upload. Perhaps it’s as you said, they run checks on the file being uploaded. Maybe it will work, maybe it will crash in some use cases because they don’t have a polyfill for some specific API they use. So instead of dealing with user complaints about crashes they just disabled the feature.
        I’m also not sure why you’re upset with Discord for implementing DRM for uploaded files. If they don’t, they will get sued by the companies enforcing that DRM, so hate on those companies instead.

  • PhiAU@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    1
    ·
    1 year ago

    codes a desktop OS specific program coded in C just to spite you

    To be honest I absolutely hate everything being a browser app.

  • Maharashtra@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    3
    ·
    1 year ago

    “Press THIS button if you want to enter anyway”.

    I think I need to fill a patent for this idea, since it’s brand new, fresh and nobody has ever heard about it…

    • ghostofjohnnycache@feddit.de
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      As other comments have pointed out, Firefox doesn’t necessarily support the necessary APIs that Discord is using for this. I have the same issue where neither Firefox don’t support the in-browser MIDI API, so I need to have Chrom(ium) for a webapp that lets me configure some MIDI hardware that the manufacturer provides zero computer interface for.

      I’d like to use Firefox for everything, but there will always be some edge cases like this as long as there are APIs or other features that it doesn’t yet support. Of course not to say that securely implementing every new API is trivial, but that’s just how it is right now

  • starman@programming.dev
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    1 year ago

    There is FOSS wrapper for discord called webcord, if you have to use discord but want a bit more privacy.

      • Julian@lemm.ee
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 year ago

        Webcord is hardly a 3rd party app. It’s essentially just a specialized web browser for the discord site.

          • Blastboom Strice@mander.xyz
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            (I’m saying this because once upon a time I had cloned discord on my phone by installing the same apk with a letter changed (com.discore) and it thought I was using a 3rd party app or something. They asked for a number, gave me access to my account for about 5mins (good thing I thought of backing up my account and my friend IDs) and banned me. They didn’t mention why, just some default message about spam. I did it again since I didn’t know what I did wrong, another number down the drain. I haven’t checked if they are still blacklisted.)

  • Cam@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    4
    ·
    1 year ago

    Eventually I can see discord discontinuing their web client to push you users into installing their spyware.

    • Carlos Solís@communities.azkware.net
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      1 year ago

      With the same critical mass of users that most proprietary social media have, unfortunately. You’ll be lucky to find certain communities on Matrix at all.

      • DasRubberDuck@feddit.de
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        1 year ago

        Yep. Those companies make it easy to join so they capture big user bases and become the defacto standard. I had a bad feeling about discord from the beginning. Glad I managed to stay away. But I’m old and not really interested in most “communities” online, so it’s an easy decision for me. With instant messengers on the other hand…

    • wahming@monyet.cc
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      2
      ·
      1 year ago

      Because firefox doesn’t support it? Don’t see why it’s their fault

      • tleb@lemmy.ca
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        3
        ·
        1 year ago

        They implemented a feature that is only available in Chromium and not part of the web standards yet. It’s no different than websites that would only work on IE 20 years ago because of some proprietary Microsoft thing.

        • wahming@monyet.cc
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          2
          ·
          edit-2
          1 year ago

          Except it’s not proprietary, and presumably there’s no other way to do it in the browser, so did discord really have a choice other than not implementing said feature?

          On top of that, their desktop app uses essentially the same website in an internal browser, so unless they handicap themselves by not implementing anything firefox can’t support, I still don’t see how it’s their fault

  • criticon@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I tried to use lyft on my computer yesterday to download a receipt for my expense report, it didn’t let me, kept telling me to download the Android app…

    • HughJanus@lemmy.ml
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      Everyone wants to force you to download their app now so they can collect your data, shove notifications down your throat, and push ads.

      In the age of the internet, your attention is the most valuable thing a business can have and it costs them virtually nothing to harass you into giving it to them because people have no spine and won’t hold it against them.

  • Pixlbabble@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    10
    ·
    1 year ago

    Looks like they’re prepping you for browser drm lol. Go decentralized and get off discord.