mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 16:10:55 +00:00
4.20.62
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:
parent
264c375f13
commit
a473c6eb93
23 changed files with 2362 additions and 49 deletions
|
@ -2,11 +2,13 @@
|
|||
'use strict';
|
||||
(() => {
|
||||
// Don't run on certain sub-domains.
|
||||
if ( /^(?:localhost\.rig|blog|player|im|chatdepot|tmi|api|brand|dev)\./.test(location.hostname) )
|
||||
if ( /^(?:localhost\.rig|blog|im|chatdepot|tmi|api|brand|dev)\./.test(location.hostname) )
|
||||
return;
|
||||
|
||||
const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev') && ! window.Ember,
|
||||
FLAVOR = location.pathname === '/p/ffz_bridge/' ? 'bridge' : 'avalon',
|
||||
const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev'),
|
||||
FLAVOR =
|
||||
location.hostname.includes('player') ? 'player' :
|
||||
(location.pathname === '/p/ffz_bridge/' ? 'bridge' : 'avalon'),
|
||||
SERVER = DEBUG ? '//localhost:8000' : '//cdn.frankerfacez.com',
|
||||
CLIPS = /clips\.twitch\.tv/.test(location.hostname) ? 'clips/' : '',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue