Automatic responsive videos in WordPress with oEmbed, FitVids and a little PHP magic

UPDATE: I’ve added a 4th step to the list to remove automatic inline styles from being inserted when embedding videos. If you’re using a responsive theme on your WordPress site (or you’ve built a responsive theme) and you’ve added YouTube, Vimeo or other videos using oEmbed you will undoubtedly have noticed those videos do not…