I've had all manner of disastrous performance with YouTube in Safari of late, including the offline message. I use 1Blocker with the optional YouTube script enabled, and had already assumed this was the problem, but frankly I'd rather endure the poor performance than disable blocking on YouTube.