Added support for dynamically added videos.