Jump to content

Scrub video cleanly


Stunt Pixels
 Share

Recommended Posts

I've built some custom controls for videos in Phaser. The scrub bar works fine, except the video flashes black while I scrub. I would have thought it was a caching issue, except this happens with already cached videos too. Scrubbing is done via a simple:
 

  function setTime( t ) {
    video.currentTime = t
  }

Anyone got an idea how to lose the black flashes?

 
Link to comment
Share on other sites

Thanks @samme, the video scrubs fine in other players, and as a plain dom element. It seems to be just in Phaser – I haven't tried it straight in Pixi, but I assume it also go black there. I can work around it, it's just bugging me that it's happening... 

Cheers

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...