You will need to install a user script manager extension to install this script.
Set the default viewing mode for YouTube videos to Theater Mode.
Works well with Flash.
Minor issue: In HTML5 mode, the video's progress bar does not fit the size of the video. If anyone knows how to fix this, please let me know.