Thanks for getting in touch! I’m not really sure but I think that’s Youtube’s way of embedding their videos. Simply removing the &rel=0 part of your link should fix the issue.
I know what you mean, but that’s not quite the issue. You’ll notice in the code snippet above that the script seems to be excluding the “https:” part at the beginning of the URL—that’s what is messing things up.
I tried a few times with different URLs and they are always messed up when the tag is rendered… in the case of using an Embed URL such as https://www.youtube.com/embed/s9H3_zF6HVM?rel=0, the plugin turns it into this:
It’s an iframe from an external source so we have no control over that. What I did before I replied was I tried your code, removed the &rel=0 part of the URL and it works fine hence my suggestion. Have you given that a shot? Just the same code you have on your original post without the &rel=0 part on the href.
I could have sworn I tried that the first time around but I did try it again now and it worked! Very strange… it seems the script counts characters somehow?? Does it look at the “&” and whatever follows, and crop the beginning of the URL accordingly?
The reason I had the “&rel=0” was that I don’t want the “related videos” to appear after this video plays. So now I have a different issue to deal with. BUT at least the video plays now. Thanks!