Added database retrieval for videos