Skip to content

Autoplay embedded swf? #8096

Answered by passegua
passegua asked this question in Q&A
Sep 26, 2022 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

I got the final solution (working very well) from a Ruffle creator contacted through Disqus.
Just adding this piece of code the swf will autostart:

<script> window.RufflePlayer = window.RufflePlayer || {}; window.RufflePlayer.config = { "warnOnUnsupportedContent": false, "autoplay": "on", "unmuteOverlay": "hidden" }; </script>

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@passegua
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@n0samu
Comment options

n0samu Oct 7, 2022
Collaborator

@passegua
Comment options

Answer selected by passegua
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants