Skip to content

Question about js api usage #1679

Answered by Dinnerbone
dcaillibaud asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

  1. Our docs will be pushed to https://ruffle.rs/js-docs/master/index.html but they won't be accurate until tonights nightly, as it was dependant on a typescript rewrite landing (which did last night woo 🎉)
  2. Either as part of the URL or currently as an extra parameter to the play methods - ie https://ruffle.rs/js-docs/master/classes/_ruffle_player_.ruffleplayer.html#streamswfurl - but I can see that it is working on your pages, I can see the request to pentagone.xml in network tools. I think the movie just isn't loading correctly in Ruffle yet, perhaps?
  3. You can manually size the ruffle element for now (player.style.width = "100px"; and such). We'll expose better controls over this, and a…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Dinnerbone
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #1679 on November 25, 2020 12:35.