Avatar of cycledude
cycledude
Flag for United Kingdom of Great Britain and Northern Ireland asked on

overlay on top of video while loading

Hi

I have a client who has video on his site (quicktime)...

He want to have an overlay with a spinny loading icon to display for a couple of seconds before it starts... I have done this with an absolute positioned div and an animated gif... then used jquery to make it dissapear after 2 seconds....

This kind of works in firefox, but in ie and chrome the overlay sits nicely just behind the video.... not quite right...

I have tried messing with z-index, but nothing will appear above the video....

Any ideas where I can go from here?

Cheers


CD
JavaScriptHTMLAJAX

Avatar of undefined
Last Comment
cycledude

8/22/2022 - Mon
GlobaLevel

cycledude

ASKER
Hi

That's pretty much what I am doing now...

here is my code

.loading                              { display: block; position: absolute;  width: 510px; height: 275px; background:url(../images/ajax-loader.gif) no-repeat center #fff; z-index: 1000; top: 50px; right: 10px;  }
ASKER CERTIFIED SOLUTION
leakim971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cycledude

ASKER
Thanks for the input, I gave up in the end....
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23