Jump to content

Recommended Posts

Posted

I am full of questions!!! I would like to install a media player on my main site. i would like to have a mp3 play if users want it to. I want to have a play button, and pause, and stop. basicly i dont want it to start playing by it self, only if users want to. I have been googling and googling for an hour... and I cannot find anything... can someone assist me?

Posted (edited)

I think the Media Player is not part of the website, its an application installed on the visiting computer. And this is usually the choice of the visitor and they control how it plays. You just supply the media file and the visitor plays it with what ever application they perfer, they could have multiple choices.

 

There maybe a Java or plugin you try but you should wait for someone else who may know more about them to reply.

Edited by Madmanmcp
Posted

I found a few ways to do this through google using the word "embedding media player" without the ".

 

However, keep in mind that this can eat your bandwidth very fast.

Posted
I found a few ways to do this through google using the word "embedding media player" without the ".

 

However, keep in mind that this can eat your bandwidth very fast.

 

I know it can eat bandwidth... I want to test it however... we might be growing as a club, and a suggestion was to have a song of the day, I give them my Russian techno music to listen too :lol:

 

Thanks!!

Posted

Let me know if you got it to work. I did something similar when I was doing my wife's thesis. She had to have students listen to a 2-minute long passage. I embedded the mp3 files into a web page. I didn't want the students to be able to control the files, though, so I ended up putting the embedded mp3 player onto a 1px by 1px iframe, and used a button control on the top page to control the content in the iframe.

 

It wasn't an elegant solution, but it worked.

 

Anyway, if you need help, let me know.

Posted (edited)

This is what you are wanting I take it?

 

<p align="center"><object id='mediaPlayer' width="300" height="75"

classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'

codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'

standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>

<param name="src" value=http://www.the'>http://www.the'>http://www.the path to your file here.com">

<param name='fileName' value="http://www.the path to your file here.com">

 

<param name='animationatStart' value='true'>

<param name='transparentatStart' value='true'>

<param name='autoStart' value="true">

<param name='showControls' value="true">

<param name='loop' value="false">

<embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'

id='mediaPlayer' displaysize='4' autosize='-1'

bgcolor='black' showcontrols="false" showtracker='-1'

showdisplay='0' showstatusbar='1' videoborder3d='-1' width="300" height="75"

src="http://www.the path to your file here.com" autostart="true" designtimesp='5311' loop="false">

</embed></object>

Edited by JTD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...