implemented video playback