Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4111882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:07:23+00:00 2026-05-20T22:07:23+00:00

I have a an HTML5 video element that plays and communicates with a some

  • 0

I have a an HTML5 video element that plays and communicates with a some custom video controls I have made. The controls are designed to fade in when the video is ready to play and show progress, current time etc. Since the upgrade to Chrome 10 a few weird problems exist around this part of my site (only in Chrome 10).

The controls no longer fade in and time updates are no longer shown. I have checked by console logging data and it is still being retrieved from the video element. It seems more like a CSS problem. I have found that if I open developer tools whilst the video is playing my Video Controls suddenly appear and work as they always used to.

It’s almost as though kind of refreshing the DOM or something kicks everything back into action. Like the UI is lagging behind what is actually in the DOM structure. Very strange!

Love some help on this!

Javascript:

videoPlayer.addEventListener('canplay',function(e){
  preloader.off();
  videoPlayer.play();
  mediaUI.fadeIn();
},false);

videoPlayer.addEventListener('timeupdate',function(e){
  var percent = (videoPlayer.currentTime/videoPlayer.duration)*100;
  playHead.css({left:percent+'%'});
  duration.text(fn.secs2Timer(videoPlayer.duration));
  currTime.text(fn.secs2Timer(videoPlayer.currentTime));
},false);

videoPlayer.addEventListener('ended',function(e){
  mediaUI.fadeOut();
  $('#videoPopup').popupBounceOut(true);    
},false);

HTML:

<div id='mediaUI'>
  <div class='currTime'></div>
  <div class='ie7Spc'></div>
  <div class='timeline'>
  <div class='btn pause'></div>
  <div id='seekBar' class='loadedBar'></div>
  </div>
  <div class='duration'></div>
</div>

CSS:

#notificationBar #mediaUI{position:absolute; left:0px; top:0px; z-index:4; width:100%; height:28px;}
#mediaUI .timeline{height:8px; margin:10px 60px; background:#555; position:relative; z-index:1;}.ie7 #mediaUI .ie7spc{height:10px;}
#mediaUI .timeline .loadedBar{width:100%; max-width:100%; height:8px; background:#888;}
#mediaUI .timeline .btn{width:34px; height:34px; background:url(../imgs/UI/sprite.png) no-repeat; position:absolute; left:0%; top:50%; z-index:1; margin:-17px 0 0 -17px; cursor:pointer;}
#mediaUI .timeline .btn.play{background-position:-25px -593px;}
#mediaUI .timeline .btn.pause{background-position:-25px -559px;}
#mediaUI .currTime{position:absolute; left:0px; top:0px; z-index:1; width:60px; padding:6px 0; text-align:center; color:#888; font-weight:bold;}
#mediaUI .duration{position:absolute; right:0px; top:0px; z-index:1; width:60px; padding:6px 0; text-align:center; color:#555; font-weight:bold;}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:07:24+00:00Added an answer on May 20, 2026 at 10:07 pm

    Chrome has some nasty video bugs which have appeared in version 10. I’ve actually experienced this problem myself.

    http://code.google.com/p/chromium/issues/detail?id=73458

    On Mac OS X and Windows, Chrome 10 often displays graphical corruption and can occasionally fail to draw text selections properly on pages with HTML5 video. Seeking through video in many cases has become jumpy and/or slow. I’ve only experienced the issue you describe above on Windows, though – where HTML elements above or around video fail to visually update, despite the DOM reflecting the changes.

    I’ve found that forcing a style change on the affected elements can fix the issue – as long as the new value is different from the old one, and that you’re not immediately changing it back, (where the assignment is probably optimised out by the compiler) Chrome seems to suddenly snap back into action and update the element. I haven’t tested every possible style change, but display, opacity, and backgroundColor appear to work quite reliably.

    Just as a test, does this work for you?

    problemElement.style.backgroundColor = "rgba(0,0,0," + Math.random() + ")";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using HTML5 I have 2 Audio elements and 1 video element on a page.
I have html code that looks roughly like this: <div id=id1> <div id=id2> <p>some
i'm playing around with html5 video cause it's nice to have fallback for iphone/ipad.
At this URL I have HTML5 video and audio elements both set to autoplay
I'm looking for a content scroller (carousel component) and HTML5 video library that work
I have a script that appends some rows to a table. One of the
Assume that I have some HTML page, and a corresponding CSS file. I'd like
I have been playing around with the canvas element in HTML5 and I am
what i want to do is define a hidden HTML5 video element and generate
The html5test.com tells me that my browser does not support the <video> element, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.