Implemented video loop