advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
Hellllpppp!! Problem with audio on my web site.
Posted by: lost in space
Date: November 30, 2008 12:33PM
Hope someone here can shed some light. I have some wav files on my web site. They play fine in Safari and IE7, but in Firefox Win and Mac, they play, but seem to have a duration of about 1/4 second vs. the minute or more they actually have. The accompanying mp3 files are fine. If the wav files downloaded, they play fine.



Any suggestions? TIA



Edited 1 time(s). Last edit at 08/30/2015 01:46PM by lost in space.
Options:  Reply • Quote
Re: Hellllpppp!! Problem with audio on my web site.
Posted by: Seacrest
Date: November 30, 2008 12:52PM
Can you not make the wav files mp3s?
Alternatively, you could force them to be downloaded instead of played inline in the browser. They are too big for that. Well, at least until a certain number of bytes is downloaded.

If you put the following in your .htaccess file in the soundclips directory, that would force wav files to download.

<Files *.wav>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>

Assuming, of course, that your server is running Apache (it is), and you have .htaccess override capability.





I am not Ryan Seacrest, and I do not approve this message.
Options:  Reply • Quote
Re: Hellllpppp!! Problem with audio on my web site.
Posted by: Filliam H. Muffman
Date: November 30, 2008 01:40PM
Safari and IE on WinXP load the entire file before it will play. Firefox 3 tries to start playing immediately then halts. Is this what you see? QT is currently the plugin that takes care of most of my audio but I don't see MP3 specifically listed.

What did you create the file with?



In tha 360. MRF User Map
Options:  Reply • Quote
Re: Hellllpppp!! Problem with audio on my web site.
Posted by: lost in space
Date: November 30, 2008 02:29PM
Seacrest,

I have mp3s and wav of the same content. Seems the sound quality is better with the wav files.

Filliam,

That is what I see. The files begin playing immediately in FF, but only for less than a second.

The files were created with Audacity.

Thanks,

Pat



Edited 1 time(s). Last edit at 11/30/2008 02:30PM by lost in space.
Options:  Reply • Quote
Re: Hellllpppp!! Problem with audio on my web site.
Posted by: lost in space
Date: December 03, 2008 09:12AM
Quote
Seacrest
Can you not make the wav files mp3s?
Alternatively, you could force them to be downloaded instead of played inline in the browser. They are too big for that. Well, at least until a certain number of bytes is downloaded.

If you put the following in your .htaccess file in the soundclips directory, that would force wav files to download.

<Files *.wav>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>

Thanks, Seacrest, that did the trick!

Assuming, of course, that your server is running Apache (it is), and you have .htaccess override capability.
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 186 on February 20, 2020
Record Number of Guests: 5122 on October 03, 2020