As far I understand, if it's enabled, it should play YouTube videos in the app. But even after enabling it, it's switching to the YouTube app when I click on a YouTube link. I tried disabling it, and the result is the same.
The Android Youtube plugin does not work anymore, Google has discontinued it, that's why it is disabled even if the setting is checked. I'll remove the setting.