I watched a TV show about Japanese language via YouTube. Contemporary standard Japanese was organized by Meiji government after Edo era ended. It was based on a Tokyo local dialect, Yamanite kotoba. Before that government officials spoke in their local language and they were hardly understand each other. That was a problem.
Radio broadcasting played important role to spread the standard Japanese all over Japan. They even made a radio show that taught how to read Japanese with standard language for teachers.