Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Web General Discussion
sound/music|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
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
|
||
|
|
Guru 'Geezer' Mechanic |
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 |
|||
|
|
Honorary Mechanic |
A useful app to play mp3 files on your site can be found Here
|
|||
|
|
Guru 'Geezer' Mechanic |
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. |
|||
|
|
Working Mechanic |
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 !!!!! |
|||
|
VM Staff![]() |
Just dropping a note that we are looking into this.
- Derry |
|||
|
|
Working Mechanic |
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.
|
|||
|
Guru 'Power' Mechanic![]() |
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?
|
|||
|
|
Working Mechanic |
No,I have used Firefox on both .
|
|||
|
Guru 'Power' Mechanic![]() |
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. |
|||
|
VM Staff![]() |
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 |
|||
|
|
Working Mechanic |
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

