javascript - emebedding mp3
<pre><code>&lt;script language="JavaScript" type="text/JavaScript"&gt;

// generate random number 1-3

Num = Math.round(Math.random() * 3);
document.write(Num);

//pick song to play based on number generated

if (Num = 1){
        document.getElementById('embMusic').src='iwantyou.mp3';
            }
else
            {
        document.write("you suck");
            }



&lt;/script&gt;

&lt;html&gt;

&lt;embed id="embMusic" src="" autostart="true"&gt;&lt;/embed&gt;&lt;/html&gt;
</code></pre>

<p>when i bring this up my browser tells me i have to install plugins?  i know i already have flash or at least WMP... what gives?</p>
