To play YouTube videos in the background while doing other things on your iPhone, you can use YouTube premium or Safari's desktop view mode.
The “Sorry, cannot open this link” message on YouTube appears when the app fails to handle an external link correctly.