asbplayer icon indicating copy to clipboard operation
asbplayer copied to clipboard

Make extension compatible with Firefox

Open killergerbah opened this issue 4 years ago • 10 comments

killergerbah avatar Jun 19 '21 19:06 killergerbah

tabCapture API isn't implemented in Firefox, so this ticket may not be worth it.

killergerbah avatar Jun 19 '21 21:06 killergerbah

Not implementing, flashcards without audio is a deal breaker

killergerbah avatar Jun 24 '21 16:06 killergerbah

could you still do this? even if flashcards without audio aren't something that'll work, it's nice to use this extension to add japanese subtitles to raw streams of anime

mapma1 avatar Jul 05 '21 22:07 mapma1

@mapma1 Sure I'll re-open this

killergerbah avatar Jul 21 '21 15:07 killergerbah

bumping this, would be nice if asb was on firefox even if feature-limited there are alternatives such as Substital but they're harder to use and more limited in things like the range you can change the subtitle timing

pedipanol avatar Jun 25 '23 17:06 pedipanol

After hacking around for an afternoon I got asbplayer to "work" on Firefox. Though I'm not sure which features are broken still, I only started using it today 😅. I've only tested the subs so far, no clue what else is still broken. Currently my fork requires a prerelease version of Firefox 115 to work(in my case 117.0a1), because of the chrome.storage.session api which is still in preview in firefox. That aside my changes are mostly removing chrome specific apis with firefox replacements if possible.

I'm not a webdev nor an extension dev, so I can't judge how feasible this is to support on multiple browsers at once. I'm generally surprised by how well it works, considering I only changed a couple lines.

pohuing avatar Jul 12 '23 03:07 pohuing

@pohuing can you provide a build? I tried building myself but yarn keeps giving out errors

pedipanol avatar Aug 01 '23 12:08 pedipanol

@pedipanol to be honest, it just stopped working over night and I don't have a clue why. That most recent commit worked at one point, now it doesn't and I don't need this extension enough to continue sinking time into it.

Maybe there's a better way to debug this, but I can't get a source map to work and staring at compiled async state machines is just horrid to debug.

Providing a build also isn't an easy thing unfortunately. Firefox wants to become the new apple and requires you to install non Firefox approved(tm) extensions on every launch. I'd have to jump through signing hoops with them for me to be able to share a usable build.

What is the error yarn is showing you?

pohuing avatar Aug 04 '23 23:08 pohuing

Completely switched to Firefox only to find out asbplayer isn't compatible :( I only really use it to add subs and be able to scan them, so I don't really care if the sentence audio or image stuff doesn't work.

jp-man25 avatar Mar 31 '24 04:03 jp-man25

A snapshot build with Firefox support has been posted in the Discord server. It is missing the side panel and the ability to record DRM-protected video streams.

killergerbah avatar Apr 08 '24 06:04 killergerbah