Jump to content

MikeFloutier

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by MikeFloutier

  1. Thanks Guys, I'll give it some more thought.Mike
  2. MikeFloutier

    music

    Do you mean that a flash sound player will work on any browser and on PC and Mac?Because if it does then I guess I'll use that method. Does it have any disadvantages?ThanksMike
  3. I'm also very interested in this topic as one of the main features of our site is the ability to stream audio.So far I have got it to work in IE and Firefox but I'd like it to work with Safari and possibly Opera as well.So, basically, if anyone knows how to do it, I'd be obliged.ThanksMike
  4. Hi,After a lot of work and some wonderful help from you guys I've got my wife's site up and running. One of the main features is the possibility of users listening to her written material spoken via a streaming audio file.So far I've got this to work for IE and Firefox browsers but cannot find out how to accommodate Mac Safari and Opera users.Does anyone have any idea how I should go about this?ThanksMikePs My present "media_player" file looks like this: <object classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." width="60" height="32"> <param name="Autostart" value="false"> <param name="volume" value="100"> <param name="url" value= "Waves/<?php echo $exhortation_wma; ?>" <p> ActiveX is not installed or is not working properly. If you are using Firefox, please refer to the following Guide: <a href="http://forums.mozillazine.org/viewtopic.php?t=206213"> Embedded Windows Media in Firefox </a> </p> </object>
  5. Hi,I'm using a:<a href="mailto:someone@w3schools.com">someone@w3schools.com</a>type of thing in my site to enable people to mail us.Do you know if this work with Macs. And also, does it work with mail systems apart from Outlook?ThanksMike
  6. Ok not to worry. I tried the other option and that works fine.Thanks a lot, it makes a big difference, I can just see some folk giving up'cos it's too fiddly.Mike
  7. Itried naming the object "object" but that was no good - I figured maybe it was a reserved name or something so I renamed it "media_player" but still no good.This is my file that I call whenever I want an audio file played. Any ideas? <object classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." width="60" height="32" name="media_player"> <param name="Autostart" value="false"> <param name="volume" value="100"> <param name="url" value= "Waves/<?php echo $exhortation_wma; ?>" <p> ActiveX is not installed or is not working properly. If you are using Firefox, please refer to the following Guide: <a href="http://forums.mozillazine.org/viewtopic.php?t=206213"> Embedded Windows Media in Firefox </a> </p> </object> <script type="text/javascript">theObjects = document.getElementsByTagName("media_player");for (var i = 0; i < theObjects.length; i++) {theObjects[i].outerHTML = theObjects[i].outerHTML;}</script> ThanksMike
  8. Ok, I tried that but it didn't work.As I said I'm very new to this so please humour me.My guess is that I have to change something. Does the "object" in the code you suggested refer to the "name" of the object I'm trying to control? So I just have to name my object "object"?ThanksMike
  9. Hi,This is exactly what I'm looking for. My only question is, what do you mean when you say; "1) Copy this code and name it flash.js to your server." This is my first site so I'm very green.ThanksMike
  10. Thanks for that Denny. I've been scratching around quite a bit on this during the week and, with a lot of help, have finally got something that will stream audio in IE and Firefox and works well at dial-up rates.Mike <object classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." width="60" height="32"> <param name="Autostart" value="false"> <param name="volume" value="100"> <param name="url" value= "Waves/<?php echo $exhortation_wma; ?>" <p> ActiveX is not installed or is not working properly. If you are using Firefox, please refer to the following Guide: <a href="http://forums.mozillazine.org/viewtopic.php?t=206213"> Embedded Windows Media in Firefox </a> </p> </object>
  11. Thank you Skym,Very much appreciated.Mike
  12. I've just made this little file to play the audio (of the text) for each page:===========</HEAD><BODY><OBJECT ID="Player" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"></OBJECT><INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Listen" OnClick="StartMeUp()"><INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()"><script><!--function StartMeUp (){ Player.URL = "Waves/$exhortation_wma";}function ShutMeDown (){ Player.controls.stop();}--></SCRIPT></BODY></HTML>================and at the line I've highlighted I've put the variable name holding the relevant .wma file.Trouble is it doesn't work. I've tried inserting the actual .wma file detail to test it so the rest works ok. I guess I'm not using the correct syntax or something to make the variable work correctlyCan you help?ThanksMike
  13. Hi,I'm trying to get audio files of 3 to 5 minutes to stream in a web page. I need to get them to stream as some people will be viewing at dial-up rates and would have to wait too long before starting to play the files otherwise.Up to now I've been using:<object align="top" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="AutoStart" value="0" /> <param name="FileName" value="waves/audio file.wav" /> </object>I was happy with this until I started to think about users with slower connections; so I need to stream.The audio files I've been using at present are 4 bit wave files at 32kbps.Looking at the Windows Media Player reference on this site, I thought that streaming was on by default but it doesn't seem to be happening. What am I doing wrong do you think?ThanksMike
  14. Thanks boen_robot,That makes perfect sense.A question springs to mind; is it possible to detect what speed of internet connection the viewer is enjoying?MikePs Oh, and another thing, the "<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">......</object>" I mentioned previously works in IE ok and slowly in Opera but not at all in Firefox.What would I need to do to get it working in Firefox?
  15. Thank you SFB,I tried the first one you mentioned and it certainly is very helpful and I'll be implementing it's suggestions.The main thing I'm interested in however is the time taken before the wave file starts playing and this isn't covered. The file in question is called up by the code "<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">......</object>, which I found in the W3Schools tutorial.Does anyone know how this object operates? Does it have to download the entire file before it can be played or does it stream it?ThanksMike
  16. Hi,Some of the pages on the site I'm working on (my first btw) play wave files to enable the user to listen to the text. Although they are 4bit and are usually under 1MB, I'm a little concerned as to how they will work with a slow internet connection.Is there any way I can get my browser/server/pages to mimic a slow connection?ThanksMike
  17. MikeFloutier

    Php document?

    Thanks, I appreciated you help!Mike
  18. MikeFloutier

    Php document?

    Ok thanks guys but can I clarify a couple of things:1. Is it only the files with php code in that have to be .php files?2. Assuming the answer to 1. is yes, do I have to mention php in the <head>, eg "<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />", in this example 'content= "text/html..."'; should my <head> have some reference here to php?ThanksMike
  19. MikeFloutier

    Php document?

    Hi,I thought I'd jump on this one as I'm a complete beginner at php. I can see that as I'm going to have loads of pages with repetitve stuff I eally need this "include" function to save time when making changes.My questions, which I can't see addressed in the tuts are:1. Do all the files on my site need to be .php files? What about the "index" file. My server says it has php but insists on the index file being .html or .htm.2. Do any of the files need to be .php?3. Does my ".php" file (ie the one I'm going to "include") need to have a "Doctype" and "Head" like .html files?That'll do for now.ThanksMike
  20. Man, that has got to be fastest reply in history.Thank you!!Mike
  21. How do I get a margin around an image I've got floating in a paragraph of text.I'm used to using "margin" in a style sheet but I can see how to do it in an HTML page. Would it be a "style" instruction within the HTML?ThanksMike
  22. Thanks guys,Looks like I need to start learning php too!MikePs At the moment I get each page to have it's relative nav-bar entry underlined when it's being displayed. Can this still be done using this .php method?
  23. Hi,I'm working on my very first site (for my wife) and it now consists of several pages all containing the same nav-bar menu. (the only exception being an indication of which page is currently visible).I'm finding it a little tedious that when ever I make an alteration to the nav-bar this means altering each page in turn by hand.Is there a way I can make a "standard" nav-bar that can be referred to and positioned in each page, (a sort of macro) but only exists once in long-hand?ThanksMike
×
×
  • Create New...