added support for videos