I am using HTML5 audio tag to link to a WAV file, but it suddenly seems to be failing. Chrome does not seem to be able to play WAV files (MP3 works fine). I get an error message like:
Error loading: "blob:http%3A%2F%...."
Does Chrome's audio tag support WAV? For e.g., try playing this: http://www.nch.com.au/acm/11kulaw.wav
I am on Chrome version 15.0.874
I don't get the error in Chrome, but the file does not play. The control is visible, but is not working.
There is a bug report in Chromium project that seems to talk about the behavior:
http://code.google.com/p/chromium/issues/detail?id=83323
The gist of it is that .wav can mean a bunch of things and have various encodings. The comments recommend using a plugin to handle this or downloading the file.
For the purposes of serving it on the web, I'd recommend compressing it to an MP3 and an OGG format (if you want to be nice to FOSS people) and including multiple source tags.
I had this problem with an mp3 audio file that did not play just in Google Chrome (this problem could be happening with other audio format files too, like wav or ogg).
I opened my mp3 file in an audio editor (Audacity) and saved it again in the desired format (in this case, *.mp3).
It works correctly in Google Chrome.
My conclusion: if the audio file does not play, the problem is in the settings that generated the audio. Use another program, with other settings.
Related
I'm trying to get into the Web Audio API as I'm looking to make some visualizations based on the music that's playing. However all examples I have found, it's like the audio is muted. It plays the file but there's no sound.
For example: codepen.io/noeldelgado/pen/jqibm
Even following this - https://www.youtube.com/watch?v=IBHpSkGZtNM yields same result.
I'm on mac, using the latest version of Chrome (42.0.2311.90), have also tried on latest Firefox and it's the same problem.
It's a cross-origin access issue in createMediaElementSource that landed in Chrome 42. You need to setup the appropriate headers for the ogg files and set the crossOrigin attribute. Otherwise you get no audio output at all.
I have some audio files wav and one mp3, but they seem to block Firefox.
The network tab of FireBug shows the GET request, and how the files are at 0B, and there is the spinning wheel, just spinning there.
The mp3 file is one of the ones not loading and another one is a wav, which is weird because other wav files load just fine.
I tried converting the mp3 to a ogg, then firefox gets stuck at 13KB, and the same happens to Chrome.
This might happen due to outdated or disabled plugins in your browsers. I had similar experience with a .wmv file in firefox. It wouldn't play unless I fixed the faulty VLC plugin. It did work well with IE 11 and Opera 20 though.
If the problem is caused only when you use a specific file, this indicates that the file might not have been encoded properly.
I am making a system that I run on localhost, it embeds a video player and all works fine except for webm videos on Chrome. They freeze regularly and I can only get them running again by pressing play/pause and moving to the initial phases of the video.
I have been googling for this issue and trying to solve it for some time now without success, does anybody know how to solve this?
Is your same WebM file working ok on Firefox? I assume you are using HTML5 video.
I have compiled a short check list on how to troubleshoot HTML5 video playback issue here. Try to play the videojs webm sample to see if it works.
Given the description of your issue I guess it is either a non proper WebM file or a server side tuning issue (like with mime types).
If it is a file format issue you could try re-transcoding from a known good source (ie not the problematic WebM file) with firefogg.
You can also try to set the preload attribute of your HTML5 video tag to auto.
I'm Looking for a generic player that can play .avi, .flv, .mpg, .mp4 and .wmv video files and .mp3, .m4a, .wma and .wav audio file types in browser.
So far any player that I found only plays one or 2 types from above list.
Also for some reason video tag only shows empty screen with loading cursor on it, no matter what file type it is.
I only need to show these files in Firefox and Microsoft Internet Explorer (both latest version).
Don't look any more - there isn't such player.
Instead you may want to use some on-demand video transcoding service, check out for instance http://www.encoding.com/.
Hi I am working on a site which utilizes the new HTML5 audio element. I have both .mp3s and .wav files ready so that it can play in safari and firefox. Firefox loads the page up in a couple seconds but the audio stalls during playback. The page takes longer to load in safari but the playback is perfect. Have the .wav files been currupted somehow, or is firefox assuming that they are loaded before they actually are? I was really excited to use HTML5 should I just use flash?
Here is the page for reference
.WAV files can easily get huge, as they are uncompress... you'd better be using .OGG files. Here is the list of supported audio formats by browsers.
If you don't know how to convert sounds from one format to another, you can use FFMPEG. It also has a graphical interface for Windows.