I have an iPhone 5, and on occasion, I like to listen to videos from Youtube on it while the screen is off. But recently, I've found a problem- sometimes, the ability for my iPhone to play Youtube videos when the screen is off… Breaks, for lack of a better word. When this happens and I turn the screen off and on again while a video is playing, the icons to play and skip forward or backward appear on screen like usual. They all work, and the tracking bar and timers at the top of the screen both count down as if the video were playing, but no sound comes out of the phone, either through headphones or through the speaker. And when I unlock the phone, the video is usually always at the same spot where it was when I locked it. Also, if I unplug my headphones from the jack, the video continues to "play," whereas the phone would immediately pause anywhere else.
Occasionally, this problem happens at random, but it usually happens whenever a Youtube video fails to load properly (i.e., when the tracking bar is replaced by "Loading…" and whatever was on the screen is replaced by the Quicktime logo), and is always preceded by a long fadeout of the sound (usually lasting around one second), where the sound would normally abruptly cut off when I lock the screen. And when it happens, the only way to fix it is to turn the phone off and on again- reloading the Youtube page doesn't work, and neither does closing and reopening it.
So my question is, is there a way to fix this problem without having to turn my iPhone all the way off and on again.
Added (1). Also, to clarify, I don't use the Youtube app. I use youtube through Safari. And like I said, it usually works. I just want to know if there's a fix for my particular issue. Well, an easier fix.