* Disable autoplay on the home page (default allow) * Also check contentShowing event This fixes the behavior on Chrome's simulated slow networks - the video plays for a small amount of time then pauses. The player never fires the 'play' event if the network is slow enough to require significant buffering. |
||
---|---|---|
res/font | ||
socketserver | ||
src | ||
styles | ||
.eslintrc.js | ||
.gitignore | ||
changelog.html | ||
ISSUE_TEMPLATE.md | ||
jsconfig.json | ||
LICENSE | ||
old_changes.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
webpack.common.js | ||
webpack.web.common.js | ||
webpack.web.dev.js | ||
webpack.web.prod.js |
FrankerFaceZ
Copyright (c) 2017 Dan Salvato LLC
Licensed under the Apache License, Version 2.0. See LICENSE.
Developing
FrankerFaceZ uses node.js to manage development dependencies and to run an HTTP server for development. To get everything you need:
- Install node.js and npm
- Run
npm install
within the FrankerFaceZ directory.
From there, you can use npm to build the extension from source simply by
running npm run build
. For development, you can instruct gulp to watch
the source files for changes and re-build automatically with npm start
FrankerFaceZ comes with a local development server that listens on port 8000 and it serves up local development copies of files, falling back to the CDN when a local copy of a file isn't present.
To make FrankerFaceZ load from your local development server, you must set
the local storage variable ffzDebugMode
to true. Just run the following
in your console on Twitch: localStorage.ffzDebugMode = true;