Jump to content

Mark West

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Mark West

  1. I am in the process of trying to create a routine that will play the first 30 seconds of a 3 minute audio file at normal volume, and then do a 3 second fadeout. this is the example of what I have so far:

    <body>
    <audio id="audio2" 
           preload="auto" 
           src="cranbery.mp3#t=00,30" 
           oncanplaythrough="this.play();">
    </audio>
    
    </body>

    which tends to abruptly end the playback. How do I get it to "gracefully" end the playback? I am hoping to include such a routine as part a website that I am working on where I will sell music tracks, and people would be able to click on a track and hear a sample of what's on said track (a sort of "try before you buy" principal). Any assistance will be greatly appreciated. Thanks in advance.

  2. I am trying to find out what I need to do in order to get a website to play a small sample (about 30 seconds worth) of a larger audio file. For example, the first 30 seconds of a five minute audio file. I have searched for solutions to this issue, and so far have come up empty. And suggestions how to go about resolving it would be greatly appreciated. Thanks in advance.

  3. Perhaps I should have rephrased the question that I posted so that it reads: Is there a way in HTML to copy an audio file from a website to a desktop computer? I've seen both the "download" function and the "audio" function, but not in the same example as far as I can tell.

  4. I am in the process of attempting to get a website started in order to sell music files (audio) that I have created, and I have been trying to find some information as to how to create a file download routine (if needed) that will, after said buyer has paid for said file, will then download said file to said buyers computer while bypassing the playback routine. in other words, a direct download. Any assistance will be greatly appreciated. Thanks in advance,

×
×
  • Create New...