Embedding failure with https

Hi all,

I am trying to embed Twitch live in a web app based on streamlit (python framework) but I keep getting an error no matter what parent I specify.

The URL is : https://share.streamlit.io/user_name/project_name/main.py
and I tried this : <iframe src="https://www.twitch.tv/channel&parent=localhost&parent=share.streamlit.io/user_name/project_name/main.py "></iframe>

I also tried some similar variations, but nothing works. My guess was that the problem was coming from the “.py”.

I am now clueless.

Thanks in advance for your help!

The parent should be a domain only. Not a domain+path

<iframe src="https://www.twitch.tv/channel&parent=localhost&parent=share.streamlit.io/user_name/project_name/main.py "></iframe>

should be, additionally your embed URL is invalid:

<iframe src="https://player.twitch.tv/?channel=twitch&parent=share.streamlit.io "></iframe>

Swap channel=twitch for the target channel channel=monstercat

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.