PDA

View Full Version : Media Player


oracle128
October 23rd, 2000, 09:41 AM
I don't know any HTML, and I use Microsoft Frontpage 2000. I was wondering how to get the media player controls (play, stop, pause, rewind etc...) up for visitors to control the background midi's i have playing
Thanks

Buzz
October 23rd, 2000, 10:37 AM
Welcome Oracle.
Sorry I'm not at all familiar with Front Page 2000, I'm a Dreamweaver guy. I could lay out the code in DHTML for ya. But that's as close as I could get. Hopefully someone else here will be able to assist with Front Page.

------------------
<A HREF="http://members.cybernetisp.net/scott/index.html" TARGET=_blank><IMG SRC="http://members.cybernetisp.net/scott/stored_images/cubeicon.gif" border=0></A>
<A HREF="http://members.cybernetisp.net/scott/index.html" TARGET=_blank><FONT COLOR="#800000"><FONT size="2">www.creativescott.com</FONT s></FONT c></A>

MishY
October 23rd, 2000, 12:40 PM
Hey Oracle and welcome to Cyber Tech Help http://www.cybertechhelp.com/ubb/smile.gif

I think this is what you're after....

&lt;EMBED SRC="targetURL" HIDDEN="TRUE" LOOP="TRUE" AUTOSTART="TRUE"&gt;
&lt;NOEMBED&gt;
&lt;BGSOUND SRC="targetURL" LOOP="-1"&gt;
&lt;/NOEMBED&gt;

This code will autoplay the midi and loop it

&lt;EMBED SRC="targetURL" HIDDEN="TRUE" AUTOSTART="TRUE"&gt;
&lt;NOEMBED&gt;
&lt;BGSOUND SRC="targetURL"&gt;
&lt;/NOEMBED&gt;

This will automatically play the midi but not loop it

Let us know if ya need any more help http://www.cybertechhelp.com/ubb/smile.gif

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

MishY
October 23rd, 2000, 12:43 PM
Hey,

Just a sidenote...Cut and Paste that into your webpage wherever you want it to appear. I too use Dreamweaver, but the above HTML (remember to put in the links to your uploaded midi files to replace TargetURL) is what I think you're asking for.

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

Buzz
October 23rd, 2000, 08:20 PM
Yeah But Mishy.... oracle wanted a player on the page... so the user could control the midi.... didn't he/she?

MishY
October 23rd, 2000, 11:59 PM
Buzz,

Yea but correct me if I'm wrong, when embedding a midi doesn't a compacted version of a media player pop up with the option to play-rewind-stop the midi appear on the page ????

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

Buzz
October 24th, 2000, 12:47 AM
uhmm.. sometimes., not always though.
I believe you are right for the most part. Duh... my bad

------------------
<A HREF="http://members.cybernetisp.net/scott/index.html" TARGET=_blank><IMG SRC="http://members.cybernetisp.net/scott/stored_images/cubeicon.gif" border=0></A>
<A HREF="http://members.cybernetisp.net/scott/index.html" TARGET=_blank><FONT COLOR="#800000"><FONT size="2">www.creativescott.com</FONT s></FONT c></A>

MishY
October 24th, 2000, 12:49 AM
Hey oracle,

Let us know how it goes http://www.cybertechhelp.com/ubb/smile.gif

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

oracle128
October 24th, 2000, 07:37 AM
hey, thanks guys, but I pasted that html code into frontpage and whenever I do a preview, all it comes up with is the code in written form. the midi doesn't play, and the media player controls are not there. The same thing happened when I uploaded the site. I replaced the targetURL with the location of the files, aand this is what the finished html code looks like. is it correct?

&lt;EMBED SRC="http://www.emucities.com/emu/misc/oracle128/earthworm_jim_-_andy_asteroids.mid" HIDDEN="TRUE" LOOP="TRUE" AUTOSTART="TRUE"&gt;
&lt;NOEMBED&gt;
&lt;BGSOUND SRC="http://www.emucities.com/emu/misc/oracle128/earthworm_jim_-_andy_asteroids.mid" LOOP="-1"&gt;
&lt;/NOEMBED&gt;

MishY
October 24th, 2000, 07:46 AM
Hey Oracle http://www.cybertechhelp.com/ubb/smile.gif

Are you sure that url to your midi file is correct because I tried it with a much scaled down code to call it and it wouldn't work.

Are you aware that there is a _-_ in the url you have posted ???? Is this right ????

Let me know mate,

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

oracle128
October 24th, 2000, 08:42 AM
yes I have checked and double checked the link-try it yourself if you like-and I am aware of the _-_ the original filename is earworm jim - andy asteroids.mid but being a web file, frontpage automatically added in the underscores where the spaces were. that is the file in my upload site, and that is the exact file i am linking to. any other help?

Buzz
October 24th, 2000, 08:47 AM
I would have to guess that your URL isn't correct too. here's the code I tried....

————

&lt;EMBED SRC="http://www.emucities.com/emu/misc/oracle128/earthworm_jim_-_andy_asteroids.mid" CONTROLS="smallconsole" WIDTH=144 height=15 AUTOSTART="TRUE" ALIGN=right&gt;
&lt;BGSOUND SRC="http://www.emucities.com/emu/misc/oracle128/earthworm_jim_-_andy_asteroids.mid" LOOP="1"&gt;

————

Not the "CONTROLS" tag. that will add the little controller on the page if you want it.

------------------
<A HREF="http://creativescott.com" TARGET=_blank><IMG SRC="http://creativescott.com/stored/cubeicon.gif" border=0></A>
<A HREF="http://creativescott.com" TARGET=_blank><FONT COLOR="#800000"><FONT size="2">creativescott.com</FONT s></FONT c></A>

Buzz
October 24th, 2000, 08:51 AM
Hey Oracle.. just rename the file to something like asteroids.mid. That should do it. Are you certain it's a midi file?

------------------
<A HREF="http://creativescott.com" TARGET=_blank><IMG SRC="http://creativescott.com/stored/cubeicon.gif" border=0></A>
<A HREF="http://creativescott.com" TARGET=_blank><FONT COLOR="#800000"><FONT size="2">creativescott.com</FONT s></FONT c></A>

MishY
October 24th, 2000, 09:10 AM
Are you by any chance trying to add that Asteroids game you can download for free and use on your site ????

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

oracle128
October 25th, 2000, 03:53 AM
yeah I'm sure it's a midi file, and no it is not a game, it's just a song from a game (the game Earthworm Jim) I will try that other code and see if it works though

MishY
October 25th, 2000, 04:12 AM
Oracle,

Your site or at least front page is not currently uploaded on to the server. Doing a preview in Frontpage2000 wouldn't make the midi play necessarily if the midi isn't uploaded. I'm sorry if that sounds really dumb it's just the code I gave you should work because I've used it on numerous occasions on lots of sites....

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em

oracle128
October 26th, 2000, 09:21 AM
OK, thanks guys, I got the controls working-and you can now hear the sound, BUT, now, if you press stop, the seek bar stops, but the music keeps playing-the only way to stop it is to press pause. Any Ideas??

MishY
October 26th, 2000, 09:56 AM
Oracle,

All ya have to do mate is switch from using the looped code to the un-looped code. The 2nd code I gave you http://www.cybertechhelp.com/ubb/smile.gif

&lt;EMBED SRC="targetURL" HIDDEN="TRUE" AUTOSTART="TRUE"&gt;
&lt;NOEMBED&gt;
&lt;BGSOUND SRC="targetURL"&gt;
&lt;/NOEMBED&gt;

Let us know how it goes,

MiShY

------------------
Cyber Tech Help (http://www.cybertechhelp.com)
You Break 'em - We Fix 'em