WPIntell

Source evidence

Support for oembed in comments

WP Editor Comments Plus · support · 2016-07-11T23:20:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 30 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

24 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
rjeady unresolved
Would it be possible to add support for oembed? I tried using this plugin: https://wordpress.org/plugins/oembed-in-comments/ However, there are some issues: Firstly, all pasted URLs get wrapped in <p> tags so oembed just doesn’t work (I’m guessing this is to do with the wpautop setting). Also, I believe when loading comments through ajax you need to have the global $post variable set, which may not be the case currently. Thanks. https://wordpress.org/plugins/wp-editor-comments-plus/ Hi RJeady, I’ll take a look and see what it would take to implement. Okay I’ve taken a look at oEmbed in comments and it looks like adding oEmbed support in comments is possible. However, adding oEmbed support in the TinyMCE editor may be more involved. If the way it’s supported by default in the WordPress post editor could be duplicated that could work. I’m not sure how that’s being done though. I’ll add oEmbed support to the features requested list and look into it when I have some time. Cheers. That seems like a fair assessment. Thanks. For what it’s worth, in the previous WordPress version I found a little hack to enable the tinyMCE editor for comments, and this did work with oEmbed. I think that the latest WordPress/TinyMCE version (or the way you’ve implemented it) results in p tags being added more eagerly, which is the main problem. Hope that helps.

Comments

3 shown
Neosnc 2016-07-12T09:22:00+00:00

Hi RJeady, I’ll take a look and see what it would take to implement.

Neosnc 2016-07-13T09:15:00+00:00

Okay I’ve taken a look at oEmbed in comments and it looks like adding oEmbed support in comments is possible. However, adding oEmbed support in the TinyMCE editor may be more involved. If the way it’s supported by default in the WordPress post editor could be duplicated that could work. I’m not sure how that’s being done though. I’ll add oEmbed support to the features requested list and look into it when I have some time. Cheers.

rjeady 2016-07-13T09:29:00+00:00

That seems like a fair assessment. Thanks. For what it’s worth, in the previous WordPress version I found a little hack to enable the tinyMCE editor for comments, and this did work with oEmbed. I think that the latest WordPress/TinyMCE version (or the way you’ve implemented it) results in p tags being added more eagerly, which is the main problem. Hope that helps.