6b54cc4311
Adds a suspend_audio method to compliment prime_audio on WebAudioBackend, as well as logic in player.rs on the set_is_playing method to suspend audio when is_playing is set to false. Exposes pause method for the ruffle player in JavaScript with logic to display the play button when paused. |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintrc.json | ||
README.md | ||
index.js | ||
package.json | ||
webpack.config.js |
README.md
ruffle-core
ruffle-core is the core javascript bindings to the Wasm ruffle-web binary, and contains the bulk of the public API.
Using ruffle-core
Please do not use this package directly, either use ruffle-selfhosted or ruffle-extension. This page may be merged into ruffle-selfhosted at a later date.
Building, testing or contributing
Please see the ruffle-web README.