|
| |
|
|
Adila
Posts: 202 Joined: 11/16/2003 Status: offline
|
Insert songs + player - 8/17/2006 11:47:15
uhh.. the code is this, right? <OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="465" height='30'>
<param name='src' value="file://C:\Documents%20and%20Settings\Noradila\Desktop\SMKDSO\version%202\One_pre.mp3" ref>
<param name='autostart' value="-1">
<param name='controls' value='ControlPanel'>
<param name='console' value='video'>
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<EMBED src="http://www.smkdso.edu.my/C:\\Documents and Settings\\Noradila\\Desktop\\SMKDSO\\version 1\\songs" width="140" height='30'
controls='ControlPanel' type='audio/x-pn-realaudio-plugin' console='video' autostart="true">
</EMBED>
</OBJECT> so if i want to have several songs to be played, how do i do that? put in a folder, upload the folder, and at the <embed src=put the folder name> is it? is it possible for me to have the songs name to be displayed when it is played? thanks in advance ^^
_____________________________
|
|
|
|
Edge
Posts: 164 Joined: 10/12/2004 From: South Carolina Status: offline
|
RE: Insert songs + player - 8/17/2006 14:43:42
Jaybee recently posted a link found at another site that would work great for playing multiple songs (or videos) on one page. Here is the link: http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=3602 I took that information and made a page showing how well it works: http://www.edgesz28.com/edgesz28/embedmediaplayer-javascript.htm If you were only playing songs, you could change the mediaplayer height to 45px. View the code on my page to see how it was used. I do not think that this javascript/css method would allow you to indicate names of songs as they are played. However, if you want to do that, there is a way. Before learning how to insert the media player and play multiple choices on one page using javascript/css like in the killersites thread, I learned how to do it by using frames or Ajax includes script. Here are the tuturials for each: http://www.edgesz28.com/edgesz28/embedmediaplayer.htm http://www.edgesz28.com/edgesz28/embedmediaplayer-ajax.htm As described in each tutorial, both of the above methods use a separate html file that automatically loads the mediaplayer and song within the frame or Ajax includes area <div></div>. To play an embedded media player for a song showing the title, you can set up a table with two cells; one on top to indicate the song title, and the lower cell would contain the emdedded media player. Here is a backup file example that has a picture above the 45px tall media player playing only audio. http://www.pontiacfbc.com/waiting/waiting-3b_audio.htm Instead of the picture, you could make the cell height less and type in the words in lieu of a picture like I did. Here is the page that loads the backup file referenced above: http://www.pontiacfbc.com/waiting.htm It is the "My God Reigns" audio file. Please forgive the poor video and audio quality for the above example, but I recorded it in a gym and after compressing the files for the web, the sound degraded a lot. Here is an example with a title instead of a picture: http://www.cranked2eleven.com/audio-thomas.htm Here is the main page that loads the above backup file within a frame: http://www.cranked2eleven.com/videos.htm I hope this helps! Good luck, Ed
_____________________________
Time is short, are you ready?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|