1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-08 15:20:55 +00:00
The Embedded Player Update! Adds support for the Compressor, Reset Button, and metadata to the embedded / pop-out player using a minimal build of FFZ.

* Added: Support for the embedded player.
* Fixed: Update the regex for clip URLs to match new extended slugs.
* Fixed: Bugs in `experiments` and `raven` when the `site` module cannot be loaded or does not provide `getCore()`.
* Fixed: Bug in the main menu where the menu may sometimes become unresponsive when opening to a page with no settings.
* Fixed: Attempting to initialize the Compressor when a user has not yet interacted with a page may result in a broken audio stack.
* Fixed: Setting Profile filters that are unknown would always match, rather than always failing. This is problematic if an add-on that provides a filter type has not yet loaded.
This commit is contained in:
SirStendec 2021-02-12 15:27:12 -05:00
parent 264c375f13
commit a473c6eb93
23 changed files with 2362 additions and 49 deletions

View file

@ -131,7 +131,7 @@ export default class RavenLogger extends Module {
if ( munch )
munch.getRequire().then(() => {
const site = this.resolve('site'),
core = site.getCore(),
core = site?.getCore?.(),
logger = core?.logger;
if ( logger && ! logger.rootLogger ) {
@ -151,7 +151,7 @@ export default class RavenLogger extends Module {
autoBreadcrumbs: {
console: false
},
release: (window.FrankerFaceZ || window.FFZBridge).version_info.toString(),
release: (window.FrankerFaceZ || window.FFZPlayer || window.FFZBridge).version_info.toString(),
environment: DEBUG ? 'development' : 'production',
captureUnhandledRejections: false,
ignoreErrors: [
@ -380,7 +380,7 @@ export default class RavenLogger extends Module {
buildTags() {
const core = this.resolve('site')?.getCore(),
const core = this.resolve('site')?.getCore?.(),
out = {};
out.flavor = this.site?.constructor.name;