I thought it would be cool to layer Streamlit apps into websites and SaaS tools, and pass context from the page into the app.
Our method was to use a browser extension to embed the app as an iframe and pass inputs via URL parameters; (full disclosure I work for PixieBrix and we’re a low code extension builder)
Hi @BeyondMyself, I wanted to clarify that the example embeds Streamlit into a 3rd-party website (cbssports.com), which I don’t control. This is why I’m using a browser extension.
This method also lets you embed Streamlit into SaaS apps like Salesforce, so you’re not limited to the set of app builders and visualization tools available in the AppExchange.
Why does this method work for localhost URL but not my network?
I’m trying to embed my streamlit app into my WordPress site and when I use the network URL it does not render anything but the localhost works just fine.
What does the frame look like? Is it showing an error message, or just showing as blank?
Also, are you using Streamlit’s hosting service or your own domain/host? If you’re using your own, you might want to double-check that: 1) you’re using https:, 2) you don’t have an Adblocker or other extension running that might block that URL