title: HTML/Javascript: How to add a live video stream from another website
body: <p>I am currently trying to add live video-streams from another website to my own for convenience and cannot seem to get it to work. I have already written a droplist using select and options, select id="select camera" onchange="traffic(). Could someone please advise what I am doing wrong with the script below?</p>
  
  <pre><code>function traffic() &lt;br&gt;
      { &lt;br&gt;
      location[0] = "&lt;img src='http://131940.qld.gov.au/DMR.Controls/WebCams/DisplayImage.ashx?FilePath=\Metropolitan\mecure.jpg&amp;R=1369294224610' alt='Brisbane City Traffic Camera is Currently Unavailable'width='500' height='400'&gt;"; &lt;br&gt;
      location[1] = "&lt;img src='http://131940.qld.gov.au/DMR.Controls/WebCams/DisplayImage.ashx?FilePath=\Metropolitan\Rochedale_Pac_Mwy_Sth.jpg&amp;R=1369294358098' alt='Rochedale Traffic Camera is Currently Unavailable'width='500' height='400'&gt;"; &lt;br&gt;
      location[2] = "&lt;b&gt;Select a Traffic Camera&lt;/b&gt;" &lt;br&gt;
      list=document.getElementById("select camera"); &lt;br&gt;
      index=list.selectedIndex; &lt;br&gt;
  document.getElementById("traffic").innerHTML=location[index]; &lt;br&gt;
      }
  </code></pre>
  
  <p>Thanking you in advance!</p>