added support for recorded videos