malchata/yall.js

[Feature Request] Detect when video is no longer on screen and provide hook

coladarci opened this issue · 0 comments

This might be outside of the scope of this library but what are your thoughts on providing a hook for unloading when no longer on the screen.... my use case is a feed of videos; I'd like to stop videos when they are no longer on the screen (i.e you scroll past them).

Thanks for the fantastic library..