Cass dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
..
31fdf58a32e6877a278f.wasm dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
LICENSE_APACHE 5c2850dca8 Hope this works... 1 년 전
LICENSE_APACHE.html 587edc5dd2 I'm terrible at updating my website 6 달 전
LICENSE_MIT 5c2850dca8 Hope this works... 1 년 전
LICENSE_MIT.html 587edc5dd2 I'm terrible at updating my website 6 달 전
README.html 587edc5dd2 I'm terrible at updating my website 6 달 전
README.md 5c2850dca8 Hope this works... 1 년 전
core.ruffle.1a453b53e77799b37359.js dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
core.ruffle.1a453b53e77799b37359.js.map dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
core.ruffle.8413c1e69e2f0e8b03a2.js dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
core.ruffle.8413c1e69e2f0e8b03a2.js.map dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
d1e32a511cfca034cf64.wasm dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
index.html 587edc5dd2 I'm terrible at updating my website 6 달 전
package.json dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
ruffle-nightly-2023_03_14-web-selfhosted.zip c615a626a5 A lot of good changes 1 년 전
ruffle-nightly-2023_05_30-web-selfhosted.zip c615a626a5 A lot of good changes 1 년 전
ruffle-nightly-2023_08_04-web-selfhosted.zip 5c2850dca8 Hope this works... 1 년 전
ruffle-nightly-2023_10_05-web-selfhosted.zip c04a9bdcd2 Little updates 11 달 전
ruffle-nightly-2024_06_17-web-selfhosted.zip 56b053aee7 It's only been two months since last update... 2 달 전
ruffle-nightly-2024_06_25-web-selfhosted.zip dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
ruffle.js dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
ruffle.js.LICENSE.html 587edc5dd2 I'm terrible at updating my website 6 달 전
ruffle.js.LICENSE.txt 5c2850dca8 Hope this works... 1 년 전
ruffle.js.map dbde684bfe Updated ruffle and corrected colors on /start 2 달 전
ruffle_nightly_2021_04_19_selfhosted.zip c615a626a5 A lot of good changes 1 년 전

README.html























README.md


ruffle-selfhosted


ruffle-selfhosted is the intended way to get Ruffle onto your website.


You may either include it and forget about it, and we will polyfill existing Flash content,
or use our APIs for custom configurations or more advanced usages of the Ruffle player.


Using ruffle-selfhosted


For more examples and in-depth documentation on how to use Ruffle on your website, please
check out our wiki.


Host Ruffle


The selfhosted package is configured for websites that do not use bundlers or npm and just want
to get up and running. If you'd prefer to use Ruffle through npm and a bundler, please
refer to ruffle core.


Before you can get started with using Ruffle on your website, you must host its files yourself.
Either take the latest build
or build it yourself, and make these files accessible by your web server.


Please note that the .wasm file must be served properly, and some web servers may not do that
correctly out of the box. Please see our wiki
for instructions on how to configure this, if you encounter a Incorrect response MIME type error.


"Plug and Play"


If you have an existing website with flash content, you can simply include Ruffle as a script and
our polyfill magic will replace everything for you. No fuss, no mess.


<script src="path/to/ruffle/ruffle.js"></script>

Javascript API


If you want to control the Ruffle player, you may use our Javascript API.


<script>
window.RufflePlayer = window.RufflePlayer || {};

window.addEventListener("DOMContentLoaded", () => {
let ruffle = window.RufflePlayer.newest();
let player = ruffle.createPlayer();
let container = document.getElementById("container");
container.appendChild(player);
player.load("movie.swf");
});
</script>
<script src="path/to/ruffle/ruffle.js"></script>

Building, testing or contributing


Please see the ruffle-web README.


See more licenses here.