Just tap on the app switcher icon on your phone and swipe the YouTube app card. If the app has been hanged, then you can quit it and stop YouTube from running in the background.
To start with, you can try the easiest solution to fix YouTube not working on the Samsung phone issue. Though, if the YouTube videos are not playing on Android, then you can consider following these suggestions: Fix 1: Reopen the YouTube App Used by over a billion people worldwide, YouTube makes it easier for us to watch all kinds of videos online via its free application. Part 2: How to Fix YouTube Videos Not Playing on Android
If the video has been shot on your phone, then some changes in its settings or encoding could have made the video unsupported.Chances are that the SD card where your video has been stored could be corrupted as well.The file might not be compatible with your Android phone or the media player you are using.There can be issues with the syncing of its video or audio component.The header of the video file could be missing or corrupted.The video could not be downloaded properly from its source.