Muhammad_Bilal Posted May 2, 2014 Share Posted May 2, 2014 Hi every one!!! after a very long time I'm log in to this forum. let's come to the topic, the problem which I'll be experiences is that i'll create the html 5 audio. write my own script to control the playback, works fine! Now I want to know that how we can use the javascript to determined how much data is loaded on the user computer. means that if a file is 20 or 40 MB in size I want to show the progress to the user how much data is loaded on your computer. and up to what time audio can be played smoothly. just like the youtube white progress tells us. any possibility in JS? Help is appreciated. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 2, 2014 Share Posted May 2, 2014 This describes some of the events for HTML 5 audio and video, including the progress event:http://www.sitepoint.com/essential-audio-and-video-events-for-html5/You'll need to calculate how much time they have downloaded though, based on things like the audio bitrate and the bandwidth they are using. 1 Link to comment Share on other sites More sharing options...
Muhammad_Bilal Posted May 3, 2014 Author Share Posted May 3, 2014 thanks for your reply it's very helpful for me. the link which you give will completely addressed the problem of mine. your help isgreatally appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now