Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Picture of vortex
Posted
Why dosnt mp3 files work as well as a wav. Im trying to have a embedded player on the index page but no plugin player shows up when useing a mp3 file but it works fine useing a wav file. I have read audio topixs but I cant find out what to do.I know there is no choise for mp3 under sound/music but I have tried the all files options . Please help me I cant stand being stupid . Or is it just that it doesnt show up in preview . I am not yet close to publish my site on a host but when I do, music must be there
 
Posts: 16 | Location: Uppsala , Sweden | Registered: December 16, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
A good place to start is:
Streaming MP3

The code given didn't work for me, so I had to modify it to:

<OBJECT ID="MediaPlayer"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" width="239" height="179">
<PARAM NAME="FileName" VALUE="music.m3u">
<PARAM NAME="AnimationatStart" VALUE="false">
<PARAM NAME="TransparentatStart" VALUE="true">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="ShowControls" VALUE="1">

<Embed TYPE="application/x-mplayer2"
pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
SRC="music.m3u"
Name=MediaPlayer
ShowControls=1
Width=2
Height=2
</embed>
</OBJECT>

Good Luck
 
Posts: 5152 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Bailey
Posted Hide Post
A useful app to play mp3 files on your site can be found Here
 
Posts: 690 | Location: Perth Australia (ex Wales) | Registered: June 23, 2005Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
After a little experimentation I found that the Foreign Object/Media tool will import and allow playing an MP3. But there seems to be a bug you must work around.

If you use the "Filepath" button to look for your mp3 file, it will not normally show up as a recognized sound file. You must change the "Files of type:" selector from "Sound Files" to "All Files (*.*)". Your mp3 files will now be visible.

Selecting your file will now put it in the filepath box of the tool window. You can now click OK and preview the file. It should play.

The bug appears when you publish the project. SiteSpinner uses the <EMBED> method to insert your sound file. It depends upon your visitor's browser having a media player installed. All the major players (Windows, QuickTime, RealPlayer) will automatically install a browser plug-in when they are installed, so it is a safe bet that a sound file will play. But the <EMBED> method requires a source that is a fully qualified URL. When SiteSpinner plays your sound file in the preview mode, it automatically prefixes your selected mp3 file with "File:///" to create a correct URL. When SiteSpinner publishes your project, it does NOT prefix your mp3 file this way, so the file is never found.

To work around this bug, before you click the OK button on the Foreign Object/Media window, move your cursor to the start of the mp3 file name and type in "file:///" Your sound file should now work when published.
 
Posts: 5152 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of vortex
Posted Hide Post
Thanks a lot , I think that this bug has been the
reason why I havent succeded so far. I hope I will make it next year ( ha ha )when time is on my side .
Thanks again and Happy New Year to you All !!!!!
 
Posts: 16 | Location: Uppsala , Sweden | Registered: December 16, 2006Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
Just dropping a note that we are looking into this.


- Derry
 
Posts: 4167 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of vortex
Posted Hide Post
I cant make it work , maybe becouse I use webengine and not sitespinner.In preview mode I just see the need to install more plugins which is not to be found automatic . Is strange couse I think I didnt have that trouble under the trail period when useing sitespinner.
 
Posts: 16 | Location: Uppsala , Sweden | Registered: December 16, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
For MP3 files, there shouldn't be any difference between WE and SS (I think!). If you are now getting messages about plugins, could you be using a different browser than before?
 
Posts: 9269 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of vortex
Posted Hide Post
No,I have used Firefox on both .
 
Posts: 16 | Location: Uppsala , Sweden | Registered: December 16, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
What plugins is Firefox asking for? Maybe you really do need it or them.

Can you post the code you are using now? Or a link to your MP3 page? Then we can test it too.
 
Posts: 9269 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
The .mp3 extension is missing and added to our list, but we don't see the other problem.

file:// is only used for local files. Relative URLs should work when gathering, and file:// should be there if absolute mode is used.


- Derry
 
Posts: 4167 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of vortex
Posted Hide Post
Smile Big Grin Happy again !! all of a sudden there was no problem .Mp3 and player showed up in preview mode easy as that . cant understand what has been wrong . Big Grin
 
Posts: 16 | Location: Uppsala , Sweden | Registered: December 16, 2006Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.