• @kibiz0r@midwest.social
    link
    fedilink
    English
    302
    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
      65
      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
        41 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
        41 year ago

        Firefox and Safari is also implementing experimental features often.

      • @Anonymousllama@lemmy.world
        link
        fedilink
        English
        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
      link
      fedilink
      English
      321 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
        301 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.

    • KaynA
      link
      English
      291 year ago

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

      • Anomander
        link
        fedilink
        501 year ago

        Shocking news: people are people everywhere, not just on ‘rival’ platforms.

      • Franklin
        link
        fedilink
        English
        61 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
        33
        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
          21 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
            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
              11 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
        19
        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
      351 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
        421 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
          191 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
            4
            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
              11 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
          131 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
      28
      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
    581 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
    link
    fedilink
    English
    361 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
      191 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
        link
        fedilink
        321 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
        121 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
          41 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
        link
        fedilink
        English
        71 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.

    • Ready! Player 31
      link
      fedilink
      English
      41 year ago

      There’s probably less than 5% users who Discord from browser, let alone Firefox

      There are dozens of us! Dozens!

  • @PhiAU@lemmy.world
    link
    fedilink
    English
    311 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
    link
    fedilink
    English
    241 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
      61 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

    • Carlos Solís
      link
      fedilink
      English
      111 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
        51 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…

  • stravanasu
    link
    fedilink
    English
    211 year ago

    I said 'fuck you" to Slack for similar reasons. Going to same the same to Discord now.

      • @tleb@lemmy.ca
        link
        fedilink
        English
        151 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
          8
          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

    • Flying Squid
      link
      fedilink
      English
      31 year ago

      I wish I could say fuck you to slack. Unfortunately, my office relies on it.

  • Cam
    link
    fedilink
    English
    201 year ago

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

      • Julian
        link
        fedilink
        English
        111 year ago

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

          • Blastboom Strice
            link
            fedilink
            English
            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.)

      • @Anamana@feddit.de
        link
        fedilink
        English
        13
        edit-2
        1 year ago

        It works better for me as an app. I don’t like my browsers to be cluttered like that. But if it fits your usecase

        • ripcord
          link
          fedilink
          61 year ago

          That’s why I like Chrome’s (and various Chromium browsers’) ability to app-ify sites. Will create a .app in MacOS, .desktop in Linux, etc. Launches as what looks like an independent app with its own dock/launcher icon. Utilizes most of their PWA stuff.

          Sadly, it looks like Chrome has hidden the option completely in the latest version unless you set a flag that will probably go away in a few releases. Edge makes it pretty clear.

          I wish Firefox would bring the feature back. They deprecated it years ago and I use it heavily (only reason/time I use Chromium stuff on most of my machines)

          • @Anamana@feddit.de
            link
            fedilink
            English
            2
            edit-2
            1 year ago

            I know it from Android and I was using it quite frequently as well. But in my opinion it’s better as a website alternative, compared to being a complete replacement for apps. Things are less buggy and more smooth for me that way.

        • TigrisMorte
          link
          fedilink
          51 year ago

          I fail to understand how opening a web site, which is all a browser does, can be defined as ‘cluttered’, but my use case is security while appears yours is to let corpos rummage through your files.

          • @Anamana@feddit.de
            link
            fedilink
            English
            91 year ago

            It’s inconvenient and disorganized to have it as an extra tab (taking up tab space) or browser window (same symbols), also it runs smoother for me within the app.

            but my use case is security while appears yours is to let corpos rummage through your files

            I care about UX & seems like I’m not the only one at that. If I would care about privacy and security I wouldn’t use discord, but matrix or sth.

        • @HughJanus@lemmy.ml
          link
          fedilink
          English
          31 year ago

          It works better only because they intentionally hamstring the browser so you’ll do exactly that.

      • etrotta
        link
        fedilink
        41 year ago

        Why would you want to block their telemetry?
        It is not like they’re using it to serve ads to you, and it should be better for everyone for developers to make decisions based on how users are actually using their app, no?

        • conciselyverbose
          link
          fedilink
          231 year ago

          It’s simple. Nothing that happens on my device is their data.

          Any telemetry that isn’t explicitly opt in with zero consequence for not doing so should be the kind of illegal that gets every asset your company owns seized immediately for non-compliance. All user data collection is spyware.

          • TigrisMorte
            link
            fedilink
            111 year ago

            “even if you don’t use them to serve ads”, Which they do, just indirectly.

        • @hemko@lemmy.dbzer0.com
          link
          fedilink
          English
          91 year ago

          You kidding? That’s literally a troijan horse.

          Imagine you buy a new showerhead and it came with a hidden camera sending data to the seller. The camera is enabled by default, with toggle hidden and difficult to find.

          This is what it is when you enable telemetry by default.

        • @cmrss2@aussie.zone
          link
          fedilink
          English
          61 year ago

          The desktop client logs and sends lists of currently running processes by default, and they also collect usage data (which channels you open, how long for, who you’re interacting with). In the settings, there’s literally an option for “Use data to customize my Discord experience”. And sure, they don’t show ads, but their third-party integrations do. Article with sources

          In the end, processing and storing millions of texts, images, videos and files permanently, and hosting all those live voice and video calls, and making updates to the clients, will always cost more than what they get from Nitro and server boosting. Discord isn’t profitable; they have to make the deficit up to shareholders somehow.

      • @Anamana@feddit.de
        link
        fedilink
        English
        31 year ago

        Fair, but from a UX and technical perspective it’s a pain in the ass to use it like that

        • Dojan
          link
          fedilink
          English
          31 year ago

          At my old workplace I used it in the browser daily. Wasn’t really an issue at all.

    • @MakeItCount@lemmy.world
      link
      fedilink
      English
      71 year ago

      Yes as I manly use it on phone

      So for the once on a blue moon when I’ll open discord on my PC, the browser is enough

    • @Durotar@lemmy.ml
      link
      fedilink
      English
      51 year ago

      Discord is a web app, there’s no other way. You either use your main browser or the one they’re bundling it with.

      • @Anamana@feddit.de
        link
        fedilink
        English
        5
        edit-2
        1 year ago

        If it’s just a WebApp, then why does one of the commenters have issues to run it without the browser?

        See: https://feddit.de/comment/2192027

        Edit: And I know that you’re right technically, still there is a difference in how you run it when using a browser vs Webapp.

        • @Durotar@lemmy.ml
          link
          fedilink
          English
          41 year ago

          Theoretically, it may have additional features when it’s bundled with Electron, but ultimately there’s nothing wrong with running it in the browser.

          • @Anamana@feddit.de
            link
            fedilink
            English
            1
            edit-2
            1 year ago

            Nah I know there’s nothing wrong with it. I was just surprised so many people do it. But I guess we have a privacy-aware tech bubble here

        • @SnowdenHeroOfOurTime@unilem.org
          link
          fedilink
          English
          71 year ago

          It’s not a laptop. Not sure why that would matter though. The browser version works fine. If it didn’t, that wouldn’t be my pc’s fault, it would be discord’s.

          • @Anamana@feddit.de
            link
            fedilink
            English
            2
            edit-2
            1 year ago

            I obviously meant any computer besides phones/tablets. Never heard of anyone that had less problems on the website, that’s just why I was wondering…

            • @SnowdenHeroOfOurTime@unilem.org
              link
              fedilink
              English
              11 year ago

              Well, it’s a home built machine. Like all computers it has random weird issues. Just was trying to say that sometimes the unexpected thing will work better. Because had I not experienced that with discord, I would’ve assumed the desktop app should be better.

      • @anlumo@feddit.de
        link
        fedilink
        English
        21 year ago

        That’s my experience on my machine running Ubuntu. The reason was that Discord ran in their snap sandbox, while my browser is not sandboxed. This leads to the sandboxes app not working together with xdg-desktop-portal, which means that screen sharing doesn’t work.