hi good day programmers,
can i ask if how can i play my music file to another network computer, actually i already enable the activex in internet option when i open my create webpage with embed music player my musics on the webpage are playing to my computer, but when i try it to another computer and select the music it seems the embed player is not working and the music couldnt play, i already checked the activex if enable but nothing's happened this is for the user who wants to play songs on my webpage.. i am hoping for sharing your ideas..thank you
heres my codes:
*** Edit ***
Please use code tags when posting code
can i ask if how can i play my music file to another network computer, actually i already enable the activex in internet option when i open my create webpage with embed music player my musics on the webpage are playing to my computer, but when i try it to another computer and select the music it seems the embed player is not working and the music couldnt play, i already checked the activex if enable but nothing's happened this is for the user who wants to play songs on my webpage.. i am hoping for sharing your ideas..thank you
heres my codes:
<select name="selectname" id="cancion" onchange="song()" style="width: 470; color:#C0C0C0; height:22; background-color:#000000;" >
</div>
<option >---Select Song---</option>
<?php
$result = mysql_query("SELECT * FROM music ");
while($row = mysql_fetch_array($result)){
?>
<option >
<?php $id = $row['mid'];echo $row['musicfile'] ;?>
</option>
<?php }
mysql_close($conn);
?>
</select>
</div>
<script type="text/javascript"><!--
function song(){
document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='300' height='75' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>";
}
//-->
</script>
<br><br>
<span id="music1"><embed type="application/x-mplayer2" id="music1"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src=""
name="MediaPlayer1"
width="300"
height="70"
controltype="2"
showcontrols="1"
showstatusbar="1"
AutoStart="0">
</embed></span>
*** Edit ***
Please use code tags when posting code