|
Use iWebStreamer as background audio for your web page 1. Make an html file and name it test_hidden_player.html 2. Place your iWebStreamer generated code in this page, between: <html> iWebStreamer code goes here
3. Create another html page and name it test2.html place this code on that page: <iframe name="player" width="0" scrolling="no" frameborder="no" marginheight="0" marginwidth="0" frameborder="0" src="test_hidden_player.html"></iframe> 4. Now bring up your test2.html page in a browser. You won't see the iWebStreamer player but you'll be able to hear the background audio playing on the page. Alternative Background Audio 1. Create two more html pages and name them test3.html and blank.htm place this code on the test3.html page (nothing goes on the blank.htm page): <html> <body> <iframe name="player" id="player" width="0" scrolling="no" frameborder="no" marginheight="0" marginwidth="0" frameborder="0" src="test_hidden_player.html"></iframe>
<a href="#" onClick="document.getElementById('player').src='test_hidden_player.html';">PLAY</a> <br><br> <a href="#" onClick="document.getElementById('player').src='blank.htm';">STOP</a>
</body> </html> 2. Bring up the test3.html page in a browser. You'll see a PLAY and a STOP link. The PLAY link calls the test_hidden_player.html page. You'll hear the audio. The STOP link calls the blank.htm page and the audio will stop playing. |










