Just add the comments to oEmbed. Here’s a small plugin that you can use as MU-Plugin or normal plugin and that should explain what’s going on pretty well.
<?php
defined( 'ABSPATH' ) or exit;
/* Plugin Name: (#105942) oEmbed Comments */
add_filter( 'comment_text', 'wpse_105942_oembed_comments', 0 );
function wpse_105942_oembed_comments( $comment )
{
add_filter( 'embed_oembed_discover', '__return_false', 999 );
$comment = $GLOBALS['wp_embed']->autoembed( $comment );
remove_filter( 'embed_oembed_discover', '__return_false', 999 );
return $comment;
}
Related Posts:
- How do I embed youtube videos with https instead of http in the URL?
- How to change thumbnail of embedded Youtube video?
- Manipulating oembed_dataparse stopped working for YouTube embeds
- Youtube – Embed as IFRAME
- Is it possible to modify the default YouTube embed attributes string?
- Youtube parameters within WordPress embed code?
- vimeo/youtube video embed with thumbnails
- Embed YouTube video from custom field value
- Embeding YouTube video via a template function throws iframe cross-domain policy error
- Video Embed with Captions in Turkish
- YouTube embed parameters?
- Embed Youtube video link in wordpress editor
- How to auto embedded youtube with wp_insert_post()
- How to change the way wp_embed handles only youtube videos?
- How to embed YouTube videos in posts without adding suggested videos at the end?
- How to make my new theme read [youtube id=”id of the video here” width=”600″ height=”350″]?
- Div around YouTube video
- YouTube embeded video will not resize (only full screen responsive) [closed]
- WordPress fails to embed video URL
- Youtube iframe embed keeps disappearing from page
- WordPress Mediaelement – Youtube Videos Embed Options
- add_filter is failing to append &rel=0 to end of YouTube URL in oEmbed
- How do I hide related videos at the end of a YouTube playlist embed code?
- Setting a post’s featured image from an embedded YouTube video
- Use [embed] filter in template files
- Do_Shortcode not working for Embed
- Change HTML Produced by wp_list_comments()
- WP Oembed not passing through the “autoplay=1” variable
- How to wrap submit button of comment form with div
- How can I change Max Embed Size in WordPress 3.5?
- Comment Walker vs. Comment Callback
- Soundcloud embed shortcode does not work
- How can I limit the number of comments per registered user per day?
- Modify youtube video size on one page and show another size on different page
- add_filter to youtube embeds?
- Showing comments only to same custom user role
- Why does comment_reply_link launch the reply form at the wrong spot on the comment section?
- wp_embed_register_handler not working
- How to hide “Trackback” on paginated comments
- Embed .mov file via ‘Add Media’ not working
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- How to add new embed handler not supported by oembed
- How to display comments on different page
- Any way to use a custom Parameter for youtube embed without using an iframe?
- how to have 2 comments_template() in one post
- Customize Embedded Tweets (or, How To Hide Photos in Embedded Tweets)
- How to change WordPress embedded player size or show just the play button
- how to embed external webpage in my wordpress page
- wp_embed_register_handler is not working
- Passing arguments to wp_list_comments callback function
- use of tag into wordpress
- Any way to use a custom Parameter for vimeo embed without using an iframe?
- customize comment form
- ted talks embed fixed, but can’t control size
- Removing WordPress Icon from oembed link footer
- comments_template not working correcly in custom template files
- Change WordPress comments url / word
- How can I show comments in random order?
- Add a YouTube or Vimeo video as a post attachment?
- Convert all youtube link to embed
- Get all Youtube video’s from posts and embed them on a different page
- How to embed a WordPress article on another website [closed]
- Hiding Comments Icon On oembed
- adding a text message beside the comment submit button
- How to get last comments but not from admin (or other specific user role/capability)?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, func
- How to add a privacy-checkbox in comment-template?
- Comments to only be seen by their author
- What does the “$depth” parameter in the Walker_Comment stand for?
- how to get the comment ID in the front end when the REPLY button is clicked?
- How to create a static player top or bottom of wordpress?
- How to add a title field in comments?
- Embed YouTube video on category description
- Audio Playlists – Multiple file type support?
- Override comments.php template with plugin
- Vimeo video embeds doesnt seem to work with ACF [closed]
- Search XML file from within WordPress?
- WordPress keeps altering my embed code
- Can I use wp_oembed_get to detect a valid embeddable link or is there a better way to do so?
- disable video URL auto-embedding for a part of the post
- Add classname comment template from functions.php
- extra text in Vimeo Embedded videos
- Check if comment was modified
- Check if page is embeded
- How can I override print_embed_sharing_dialog() in WordPress 4.5
- How to change commenter links to /user/user_id?
- Embed Post in external page
- How can I force oEmbed to display fixed height & width dimensions?
- Change the HTML of the comment form that is generating somewhere from the core WordPress
- Customizing comments pagination for bootstrap
- comment_post action hook running on page load instead of after a comment is posted
- How to set YouTube video as featured image?
- WordPress get embedded/attachment video
- pdf (25MB) – how to display and enable download?
- using comments_template() in custom single-portfolio.php
- ol children instead of ul children
- how to properly use comments-template.php
- customizing TwentyEleven comments template
- How to call wp_list_comments() outside of the comments template?
- Outside url for post content