def videos_index_html(course):
 return render_to_response('videos_index.html', {'context_course': course, 'video_handler_url': reverse_course_url('videos_handler', unicode(course.id)), 'encodings_download_url': reverse_course_url('video_encodings_download', unicode(course.id)), 'previous_uploads': _get_index_videos(course), 'concurrent_upload_limit': settings.VIDEO_UPLOAD_PIPELINE.get('CONCURRENT_UPLOAD_LIMIT', 0), 'video_supported_file_formats': VIDEO_SUPPORTED_FILE_FORMATS.keys(), 'video_upload_max_file_size': VIDEO_UPLOAD_MAX_FILE_SIZE_GB})

def videos_index_html ( course ) : return render_to_response ( 'videos_index.html' , { 'context_course' : course , 'video_handler_url' : reverse_course_url ( 'videos_handler' , unicode ( course . id ) ) , 'encodings_download_url' : reverse_course_url ( 'video_encodings_download' , unicode ( course . id ) ) , 'previous_uploads' : _get_index_videos ( course ) , 'concurrent_upload_limit' : settings . VIDEO_UPLOAD_PIPELINE . get ( 'CONCURRENT_UPLOAD_LIMIT' , 0 ) , 'video_supported_file_formats' : VIDEO_SUPPORTED_FILE_FORMATS . keys ( ) , 'video_upload_max_file_size' : VIDEO_UPLOAD_MAX_FILE_SIZE_GB } )
returns an html page to display previous video uploads and allow new ones .