implemented video validation