472,141 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,141 software developers and data experts.

Movie Object loading issue.

Respected sir/madam,

right now i am displaying movie (.wmv) file using <embed> and <object> tags inside <div> tag. Everything is working fine.

But when user upload 10 MB size movie (.wmv) File, My browser screen is blank ,bcz the browser will start play the movie once the movie (.wmv) file is completely loaded in cache.

I am trying to display 'loading....' message,until browser completely loads movie in cache and starts playing. My Doubt is - is there any javascript functions available to know that movie is completely loaded in cache and it will start to play now.

Incase if there is any function.it will be helpful for me to hide that 'loading...' message using CSS property.

Thanxs for providing some clue or suggesstion to my issue.

A.Suresh Kumar
Dec 10 '07 #1
3 1814
acoder
16,027 Expert Mod 8TB
Perhaps you could use the object tag's standby attribute - see ref.
Dec 11 '07 #2
Perhaps you could use the object tag's standby attribute - see ref.
Sir,

i tried by setting standby attribute for <object> tag.but standby attribute text is not displaying while object is loading.

i am displaying my movie(.wmv) file with these <object> Attribute settings:

showcontrols : 0
showstatusbar : 0
showdisplay : 0
autostart : 1
loop : 0

Is there any other way to solve my issiue.

A.Suresh kumar
Dec 11 '07 #3
acoder
16,027 Expert Mod 8TB
Unfortunately, getting sound working properly in all browsers is difficult.

Is a Flash/JS solution OK? If so, you could try using SoundManager.
Dec 12 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by jonathanztaub | last post: by
1 post views Thread by Marije | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.