Embedding streaming text into your web pages
In order to embed streaming text into your website, you'll need to use an iframe that will point to the main streaming page on the StreamText website. You can control the size and placement of the iframe to fit your circumstances. You can also control what's available on the text player that's displayed by setting the source property of the iframe. The following page lists the available control mechanisms.
Below are a few examples that will hopefully fit your circumstances. If you'd like to see some additional samples, please feel free to submit a support ticket and tell us what you would like to accomplish.
This example shows the setting of the iframe size to an absolute value and also locking in the query string parameters to the main player page. Notice the "src" attribute of the iframe tag and how chat has been disabled in this example and the event name is locked to IHaveADream.
<title>Integration Sample Page</title>
<iframe id="stFrame" src="//www.streamtext.net/player/?event=IHaveADream&chat=false" style="width:400px;height:500px"> </iframe>
Last Update: April 5th, 2016