The youtube link you posted goes to http://www.youtube.com/watch?v=2eBGF_j7S4I and when I posted the link in my test site, it worked.
Re video on http://frankyuyan.com/the-blenz-coffee-guy-on-success-his-inspiring-speech
– Why is there an iframe of your site at the end of the post under “Here is the video:”?
– To post a video, you only need to paste the link like so: http://www.youtube.com/watch?v=2eBGF_j7S4I and it will show up.
– Then, if you still want to add a text link to your video,: type the text, highlight it and click on the link icon and add the link to the video in pop-up box. Save/Update.
The iframe shows up whenever i take the youtube site’s embed code and place it into the page. It use to display the embedded youtube video fine, but since I installed buddypress, it shows this weird iframe now and I want to fix it.
Video embed is the least of your worries. Just looked at the source code of your webpage, looks like you’ve been hacked,
– http://ottopress.com/2011/how-to-cope-with-a-hacked-site/
– https://codex.wordpress.org/FAQ_My_site_was_hacked
How can you tell it’s been hacked?
Any Browser > View Source and you’ll see all the obfuscated code right after the image
thank you for letting me know! I will look into it. But back to the original question, does anyone know why it does this when I embed videos?
It’s most probably caused by the hack which should be taken seriously. If you prefer, get a second opinion by posting at the WP forums and ask if you’ve been hacked https://wordpress.org/support/forum/how-to-and-troubleshooting Know that I prefer to be wrong about the hack, but it’s there.
So i ran a few malware checks, and it seems that nothing is being picked up
So I am going to paste the before and after code, do you think malware is causing the problem?
before:
iframe src=”http://www.youtube.com/embed/psN1DORYYV0″ frameborder=”0″ width=”560″ height=”315″></iframe
after:
iframe width=”560″ height=”315″ src=”http://www.youtube.com/embed/2eBGF_j7S4I” frameborder=”0″ allowfullscreen></iframe
So I resolved the issue for the hack, but the embed problem remains,
What is weird is that when I hyper link the video, it always show my website’s URL in front of the youtube link, thus preventing any user from loading the youtube page successfully. I checked settings -> media, and auto embedding is checked off.
http://frankyuyan.com/”http://www.youtube.com/watch?v=2eBGF_j7S4I””
the 2nd again shows the iframe of my site saying site not found.
I wonder if its in the settings of my wordpress blog, any idea where it could be that’s causing it? It seems to want to access the video through my webpage instead of youtube directly.
@misc86 yup, looks like you’ve fixed the hack, changed your theme and the youtube link now goes to correct url. Way to go