i have an icecast server serving continuous mp3 stream. i tried to play it in html5 with the audio tag. in safari it shows up and plays, but the moment the song changes, the stream stops and will not start again, even it i press the play button.
does anybody know a way around this?
This is a known Firefox Bug “Firefox fails on chained ogg stream” #455165 and should be fixed in Firefox 20.
Update: Sorry, didn't saw that you said you are streaming mp3. Firefox might have similar issues with mp3 too…
Related
I have pre-recorded opus and vp8 files. In a webrtc call I am trying to stream audio / video to chrome.
While audio is played in chrome, but it fails to show video.
I read from google search that first video frame I need to send as i-frame. I am bit new to video stuff. Can somebody help me to learn how to send a i-frame in case of video.
Can there be other potential issues, why chrome does not like video frames. Please note that ICE and Dtls handshake goes well.
I have a html5 video on my site and all was working well until client gave me a new video to replace the old one. The new video crashes Internet Explorer (IE10 and IE11 - haven't tried others). When trying to play, a second of video is shown then whole site freezes and a pop-up tells me it's not responding.
No other browser is affected.
Have tried transcoding video in Handbrake to make sure it's using H.264 codec, but still no luck.
All other videos on site work fine in IE.
Has anyone got any suggestions that I can try?
Ps. Sorry, but can't share the video file as it's confidential to the client.
Oops - found out it was not IE but Avast (anti virus) add on that was freezing video.
Disabled Avast and video played as normal.
Still don't know why it only affected one video.
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 streaming a 256 kbps mp3 in real-time for a radio-style site I'm creating. I'm streaming it over HTTP.
When I access the stream URL via Firefox, it starts playing the mp3 back immediately at the point in the song the server was streaming when it connected.
With Chrome however, it needs to buffer for at least 8 seconds before it starts playing.
How can I get Chrome (and Safari) to behave like Firefox and start playing the audio immediately?
I'm playing the audio with this code:
var a = new Audio('/stream');
a.play();
Thanks
This is a bit older but it looks like this was a known bug with Chrome per this link:
https://bugs.chromium.org/p/chromium/issues/detail?id=362387
Updated versions of Chrome should have resolved your issue for mp3 but it seems as though the issue is still a problem with other formats such as AAC.
So I did a little searching about the whole issue with HTML5 video tag etc. My client doesnt want the videos to be played through FLASH and general youtube. So he wants a custom video player and we should upload the video files to our server.
I have a problem displaying the video in Google Chrome why is that? http://www.2kfilms.com/jw_test2.html
In the above link you can see that it displays normally in IE. I found out that the best encoding you should have with HTML5 is: H.264 *OGG* and WEBM
So if I have the 3 different formats will it also play in Chrome?
Even this video here: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video
doesnt play in my Google Chrome, and I find it weird. Its black and I can only hear Audio