youngros Posted June 12, 2009 Report Posted June 12, 2009 I have been asked if I can add audio files to a website. What is the best way to go about this please? Quote
PicnicTutorials Posted June 12, 2009 Report Posted June 12, 2009 Here are the two ways that I'm familiar with... http://www.visibilityinherit.com/code/play-sound-on-mouse-over.php http://www.visibilityinherit.com/code/embedding-music.php Quote
youngros Posted June 12, 2009 Author Report Posted June 12, 2009 Not quite what I had in mind. Website is for a church and the Pastor wants to put his sermons online. He doesn't write them down, or only makes notes, so wants to put them on as an audio file. Hope this explains it. Quote
administrator Posted June 12, 2009 Report Posted June 12, 2009 Hi, Just upload an mp3 file of the sermon and then link to it on your web page. When a user clicks on the mp3, their default media player will pop open and play the mp3 once it is downloaded. This will all be automatic. On Windows, that would probably be Windows Media Player and on Mac, Itunes. Hope that helps, Stefan Quote
PicnicTutorials Posted June 12, 2009 Report Posted June 12, 2009 Not quite what I had in mind. Website is for a church and the Pastor wants to put his sermons online. He doesn't write them down, or only makes notes, so wants to put them on as an audio file. Hope this explains it. Maybe you don't understand what it does. The "first" link can play a sound (like the demo) or a full serman. It can be played via mouseover (like the demo) or onClick (a button). A more cross browser/OS solution does not exist. Quote
LSW Posted June 12, 2009 Report Posted June 12, 2009 As much as I hate audio on web sites... this is a good case of justification for it. That said I would agree with Eric. You have to think of the end user. They may be on a Mac, Linux or windows... They may use a Wii or Playstation (no, not likely, but certainly possible if their computer is broken for instance) and what about mobiles and cell phones? My wife has an iPhone and rarely touches her PC anymore. What if I am a member, I travel allot, I may wish to here my pastors sermon while out of town... or hospitalized, sick people would wish for the comfort away from church. A preacher is a good example of a case where it really needs to be cross browser and cross user agent and accessible to those with disabilities who often seek our religion for comfort. I would go as far as to say video would be good for hard of hearing who can read lips top help... and minimum he/you should offer a text version for those who cannot hear it due to say background noise... or poor speakers on the phone etc. or not to disturb others (aka hospital room). Have the secretary or someone transcribe the audio into text format as an alternative to the audio or video... video would be good as well as simple audio to offer as handhelds would struggle more with video then audio due to size and bandwidth. Best to offer choices... so the user can choose what they need as well as want. Text and audio minimum. Quote
youngros Posted June 20, 2009 Author Report Posted June 20, 2009 Thanks, I've got it working with the files on the download, I just need to get a semon now to try it out. I don't have any small mp3 files, all I have is music files which are quite big. Ideally the sermons should be written out, but they are not and there is no secretary. This is a very small evangelical church based here on the Island of Madeira, the minister also does radio broadcasts to The Azores, so recording is not a problem, but video and writing it down are. Quote
youngros Posted July 7, 2009 Author Report Posted July 7, 2009 Received the first sermon today and tried to get it to work with Eric's code, but nothing. It is 13.7Mb any ideas on what I am doing wrong. I changed the name of the "baby" mp3 to that of the name of the sermon, and I uploaded the sermon. Quote
PicnicTutorials Posted July 7, 2009 Report Posted July 7, 2009 It is definitly not the easiest thing to get working. I had to do a lot of starring at the screen too I remember. Did you change where the files are located? I think the .XML and the .mp3 have to be in the same folder as the HTML page. Aside from that, I would suggest following this http://www.boutell.com/newfaq/creating/scriptsound.html to the "T". He also has a trouble shooting at the bottom. Quote
youngros Posted July 8, 2009 Author Report Posted July 8, 2009 Hi Eric, finally got the sermon working on a test page of the church's site, which is good, Think some of the sermon is missing, so will have to check before putting it live. Then decided to play with the same system on my site. First of all downloaded the files, and the baby makes the required noises. Changed all the file names to that of the sermon and ..... nothing!! Back to the drawing board. Cannot see anything different at the moment as did it exactly the same way as before. More reading of the tutorial. Quote
PicnicTutorials Posted July 8, 2009 Report Posted July 8, 2009 Remember, it only works live, not locally. Quote
youngros Posted July 8, 2009 Author Report Posted July 8, 2009 It was live, as the baby made noises, this is what is strange, as know the sermon file works. Quote
youngros Posted July 11, 2009 Author Report Posted July 11, 2009 I have finally got it working, except for the fact it is slow to load. http://www.madeiraevangelicalchurch.com/sermons.php The page for some reason doesn't appear to load in IE7, working on XP Pro 32 bit. May need some other ideas on this. Quote
PicnicTutorials Posted July 11, 2009 Report Posted July 11, 2009 Not working for me in FX3.5. I recently found this also... http://scripterlative.com/files/playmedia.htm Quote
russellharrower Posted July 11, 2009 Report Posted July 11, 2009 Can i suggest that you use something like JW flash player, its a free Flash player, that will allow users to click play and it will play the mp3 or any file that you want. You can however also make it fetch the audio file from a mysql database, or any database, this way you dont have to make a xml file, or even a page for each audio file. Quote
russellharrower Posted July 11, 2009 Report Posted July 11, 2009 Oh also i forgot to let you know, it can also play videos, something your church may want to do later down the road. There is a wizard that will show you how to get the player to work on your site including the html code. Also it works on all computers and in all browsers because it is flash. Quote
youngros Posted July 11, 2009 Author Report Posted July 11, 2009 Hi Eric, it does work in Firefox, but takes ages to. Have been told it works OK in IE8 and loads alright, but I know that to be fast computer and fast connection. Downloaded the JW Flash player and that is OK so far, but don't know how to call the mp3 file. Looking around their forum, I'm none too impressed and the site assumes you to know more than I actually do. Will keep trying. Quote
virtual Posted July 11, 2009 Report Posted July 11, 2009 (edited) How about this, it looks fairly straightforward http://www.macloo.com/examples/audio_player/ If you have Flash then there is this tutorial http://web.uvic.ca/akeller/pw406/ht_audio.htm Edited July 11, 2009 by virtual Quote
youngros Posted July 16, 2009 Author Report Posted July 16, 2009 Thanks Virtual, the first link works great, and pretty much does what we want it to. All I need to be able to do now is change the colour of the player, but not a big issue. Quote
virtual Posted July 16, 2009 Report Posted July 16, 2009 Glad to be of help. As for the colours, if you scroll down to the bottom of the page there is a link to another page with details on how to change them. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.