Stunt Pixels Posted May 25, 2017 Share Posted May 25, 2017 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 More sharing options...
samme Posted May 25, 2017 Share Posted May 25, 2017 Can you verify that the <video> itself doesn't flash black while scrubbing? You can insert it with something like document.body.appendChild(video.video); Link to comment Share on other sites More sharing options...
Stunt Pixels Posted May 25, 2017 Author Share Posted May 25, 2017 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 More sharing options...
Recommended Posts