@auraz Checkout the original https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/features/video.py file. Compare this file to https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/features/registration.py or https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/features/signup.py . Do you see at the end of the files there is no "empty line"? When there is just 1 new line, github doesn't show an empty line. When there are 2 new lines, github shows a blank line.