What I'm trying to do is either present a smaller screencap of the video for the mobile site, or not show the video at all and present a link to YouTube. Either way I have to grab the url. I've tried doing some substitutions but I can't seem to get it right. I've tried splitting up the code and putting sections into an array, but I must be doing something wrong.