Jump to content
Sign in to follow this  
Muhammad_Bilal

multimedia loaded data on client side.

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...