// get params $win_title = htmlspecialchars($_GET[title], ENT_QUOTES, 'UTF-8'); $path = $_GET[path]; $window_size = $_GET[window_size]; $type = $_GET[type]; $winWidth = 400; $winHeight = 240; $playerWidth = 320; $playerHeight = 180; if( $window_size == 'large' ) { $playerWidth = 640; $playerHeight = 400; $winWidth = 700; $winHeight = 425; } else if( $window_size == 'medium' ) { $playerWidth = 500; $playerHeight = 281; $winWidth = 570; $winHeight = 350; } else if( $window_size == 'audio' ) { $playerWidth = 500; $winWidth = 550; $winHeight = 200; } $playerHeight += 16; $base_url = 'http://openmedia.yale.edu/projects'; $url = $base_url . $path; echo "
Apple QuickTime 7.2 or higher required to view the lecture.