Youtube/audio starts playing when i disconnect my Airpods...

When i watch a random youtube video and the video is paused, i will disconnect my airpods and it will play the video that i was looking.

This also happens when other audio sources.

I made a short (bad) video of this problem: https://www.youtube.com/watch?v=xMecjZUdTLc&feature=youtu.be
I will see if I can replicate the problem on my end and then provide feedback soon.

Original thread: https://forums.imore.com/threads/youtube-audio-starts-playing-when-i-disconnect-my-airpods.416643/