대가는 결과를 만든다

[이슈] chrome 76버전 이후 video element가 canvas에 draw 안됨 본문

카테고리 없음

[이슈] chrome 76버전 이후 video element가 canvas에 draw 안됨

yunzema 2019. 9. 27. 16:43
반응형

video의 thumbnail을 만들기 위해서 video element를 이용해 canvas에 그리는 작업을 하는데 이 과정에서 draw가 정상적으로 되지 않고 검은 화면이 캡쳐가 된다.

현재 같은 이슈 사항을 확인하는 개발자들이 있으며, 69 버전에선 정상적으로 동작함을 확인했다.

 

https://support.google.com/chrome/thread/12663566?hl=en

 

[Chrome 76 bug] canvas cannot drawImage of video's first frame - Google Chrome Help

Recommended Answer Edit: Originally I rely on the onCanPlay event to know that it is a good time for canvas to drawImage. In Chrome76, it turns out that this signal is not correct anymore. I tried oncanplaythrough and it doesn't work as well. Is there any

support.google.com

 

Comments