homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Overlay covering loading video

5+ Year Member

Msg#: 4343944 posted 7:59 am on Jul 26, 2011 (gmt 0)

I am not a programmer so please bear with me.

On my website, I am having a problem with videos loading too slowly, until the jw-player loads, the page remains blank.

In order to enhance the page rendering (at least for the human eye), I thought one could cover the loading video with some graphic overlay and have the video play when the graphic is clicked.

The overlay would be contained in some div tag with say a z-index of 100 covering the player just behind it. When the graphic is clicked, the z-index is changed to -100 and the video starts playing.

Is this possible with Javascript?

JW-Player supports thumbnails, but they are only shown when the player loads completely. In this case, that doesn't help me further.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved