If you notice on your Samsung Galaxy S5 that it vibrates when you listen to music or watch a video, then the reason of this is the "Auto haptic” function". This feature is installed in Android to help people with hearing impairment to perceive music better by the vibrating phone. If you interfere with the vibration of the auto haptic feedback on your Samsung Galaxy S5 while listening to music or watching videos, then you can disable this in Android as follows:
Opens the first thing the main menu and then the Android settings.
From here tap on: Accessibility --> Hearing
Scroll all the way down until you can see the entry "Auto haptic". Remove the tick in the checkbox to disable this function. From now on your Samsung Galaxy S5 will not vibrate when you are listening to music or watching videos.