Skip to content

Commit

Permalink
Use WebGL as preferred renderer for Ruffle to deal with chrome bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KabanFriends authored Dec 19, 2023
1 parent 1bdb57e commit 535edbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ function start(name) {
player.config = {
letterbox: "on",
autoplay: "on",
unmuteOverlay: "hidden"
unmuteOverlay: "hidden",
preferredRenderer: "webgl"
};

player.load({ url: url });
Expand Down

0 comments on commit 535edbb

Please sign in to comment.