You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.
This library eats up CPU and isn't able to keep up with the frame rate of my browser (Chrome, MacBook Pro).
I addressed these issues in a fork for myself, mostly by rearranging how the requestAnimation loop relates to the timeupdate event and and cutting out events like canplay from firing every frame.
While working on this I also cut out all of the features that I didn't need (sorry) which is why I didn't make a formal PR but I wanted to share the code incase it helps anyone.
This library eats up CPU and isn't able to keep up with the frame rate of my browser (Chrome, MacBook Pro).
I addressed these issues in a fork for myself, mostly by rearranging how the requestAnimation loop relates to the timeupdate event and and cutting out events like canplay from firing every frame.
While working on this I also cut out all of the features that I didn't need (sorry) which is why I didn't make a formal PR but I wanted to share the code incase it helps anyone.
https://github.com/talltyler/html-canvas-video-player/blob/gh-pages/js/canvas-video-player.js
The text was updated successfully, but these errors were encountered: