...

View Full Version : Needing help with embedded m3u files



d66
10-21-2006, 06:04 PM
I am having problems getting the "seek" function to work. It stays in place and does not allow to drag. My m3u files have only two audio per m3u file, it won't allow to seek further or even skip to next audio in playlist. I am using the code below.

Thanks for any help


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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>
</head>
<div id="jukebox">JUKEBOX<br><br>
<select id="cancion" onchange="song()" size="1">
<option value="none">::::::::::::: Choose Your Song Here :::::::::::::</option>
<option value="http://urltosong1playlist.m3u">Playlist 1</option>
<option value="http://urltosong1playlist.m3u">Playlist 2</option>
<option value="http://urltosong3playlist.m3u">Playlist 3</option>
<option value="http://urltosong4playlist.m3u">Playlist 4</option>
<option value="http://urltosong5playlist.m3u">Playlist 5</option>
</select><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>
</div>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum