Added support for video loading.