Code:
		<script type="text/javascript">
		function myFunction() {
			document.write('<table border="1" cellspacing="1" cellpadding="5">')
			for(i = 0; i < 1; i++){
			   document.write('<tr>')
			   document.write('<td><embed name="twitcamPlayer" src="http://static.livestream.com/grid/LSPlayer.swf?hash=asqy3&autoplay=1" width="360" height="100" ></embed>' + i + '</td>')
			   document.write('</tr>')
			}
		}
		document.write('</table>')
		</script>
		<button onclick="myFunction()">Try it</button>
Basically, i cant figure out a way to start the twitcam once the button is pressed any help guys?
Im new i dont know if this the right section, so sorry