samsung galaxy note pro 12.2 won't play videos in youtube app without stopping
I have found a solution to fix that.
I went to system settings > motion control and there I had "video set to pause when looking away". After disabling that it is not auto pausing anymore.