fixed a crucial bug in the lazy loading of videos