Hallo wpForo team,
I have a problem with embeding YouTube video to reply/post.
I added this to "Allow extra HTML tags:":
embed(src width height name pluginspage type wmode allowFullScreen allowScriptAccess flashVars), iframe(width height src frameborder allowfullscreen)
but if I put YouTube video into the post, it still gets removed.
Running version 1.6.1
(Tried all possible like deleting cache and such stuff).
Please, can you help me?
Hi @etrimon,
Please try the solution mentioned by Robert in this post:Â
https://wpforo.com/community/general-discussions/original-wp-embed-function-for-youtube/#post-1875
I'd also suggest you check out wpForo Embeds add-on. The addon allows embedding hundreds of video, social network, audio and photo content providers in forum topics and posts. More info here:
I am using the media plugin for TinyMCE and it always inserts iframe and I globaly would like to add iframes to the posts (I know, you are again spammers, but please, do not mention this).
I simply just would like to know, how to allow iframe into the post.
Thank you.
The funny thing is, that you allow posting iframe into topic start post, but then in reply you have hardcoded strip_tags to the $args['body'] in "wpForoPost->add" and it is not asking for any options or something like that, but the add topic function does not contain it.