I have videos on http://www.chemvideos.com that I want to embed into bbpress forum posts or the activity stream. YouTube videos are working fine. Here is an example of embed code that should embed in a post (but doesn’t)
Since I’m trying to embed a video uploaded to a phpmotion script, the following mod was purchased a few minutes ago – and maybe the oEmbed feature will work with phpmotion. This way I don’t have to worry about a custom.php file.
Ugh – I’ve tried all sorts of combinations to get the code to show — sorry – but it is getting stripped out. And yep – even surrounding it with code still strips it — so — just imagine that the line is surrounded with angle brackets.
I got it working. It turns out that I had “whitelisted” the domain chemvideos.com – misunderstanding – that adding it to the whitelist blocks the loading of the videos in the activity stream and forum posts.
All works wonders now! I can actually just use the URL of the chemvideos – and it shows up in the blog posts, activity streams, and forum posts.
@palmdoc What kind of forum are you using? The group forums, or sitewide forum? If its the sitewide you need to go to dashboard/settings/forums and under the main settings you need to check the box beside Auto-embed Links!
I am having a hard time replicating this and I just updated one of my test servers from WP 3.3.1 and BP 1.5.5 to WP 3.4.2 and BP 1.6.1 and it works perfectly if you go to youtube click the share button and copy and paste that code into the content section after you have created a new forum topic. Why do you need an oembed plugin anyway. Auto embed is already built in to WordPress? Go to dashboard/settings/media and under Embeds make sure the box beside Auto-embeds is checked.
Thanks for the confirmation that it should work out of the box. I was puzzled why recently it didn’t work for forum posts but activity streams only.
I did the usual disable all plugins and test one by one in case of a plugin conflict.
I can confirm that the Buddypress Rate Forum Posts plugin is the culprit https://wordpress.org/extend/plugins/buddypress-rate-forum-posts/
After disabling this, video embedding now works. Will post feedback to the author.