what about this
you replace the output to just have the video id.
// delete youtube from output
str_replace("youtube","",$yourOutputShownOnYourSide);
// you will get something like "[ yu44JRTIxSQ]"
str_replace("[","",$yourOutputShownOnYourSide);
// you will get something like " yu44JRTIxSQ]"
str_replace("]","",$yourOutputShownOnYourSide);
// you will get something like " yu44JRTIxSQ"
trim($yourOutputShownOnYourSide);
// you will get something like "yu44JRTIxSQ"
than you can create a link to that video or embed the vid
for link:
// echo link
echo "https://www.youtube.com/watch?v=".$yourOutputShownOnYourSide;
// echo embed
echo "<iframe class=\"youtube-player\" type=\"text/html\" width=\"640\" height=\"385\" src=\"https://www.youtube.com/embed/".$yourOutputShownOnYourSide."\" frameborder=\"0\">
</iframe>";
(not tested the code)