course)) error("Course is misconfigured"); if (! $cm = get_coursemodule_from_instance("autoview", $autoview->id, $course->id)) error("Course Module ID was incorrect"); require_login($course->id); sendQTRefMovie($qturl); ?>