Title: Add oEmbed support
Last modified: August 31, 2016

---

# Add oEmbed support

 *  Resolved [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [10 years ago](https://wordpress.org/support/topic/add-oembed-support/)
 * Been using this on my site for about a year and really enjoy it. Thanks for such
   a simple and intuitive solution.
 * I just ran into an instance where I want to leverage WordPress’ native oEmbed
   with your widget but it doesn’t output. I found the solution though:
 * In class-randomw-content-widget.php line 54 exchange `the_content();` for this:
 *     ```
       $thecontent = apply_filters('the_content', the_content() );
       echo $thecontent;
       ```
   
 * I haven’t found how to have the oEmbed render in your TinyMCE content area yet
   though. Would be great to integrate this into your plugin.
 * Thanks!
 * [https://wordpress.org/plugins/random-content/](https://wordpress.org/plugins/random-content/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jeremy Green](https://wordpress.org/support/users/endocreative/)
 * (@endocreative)
 * [10 years ago](https://wordpress.org/support/topic/add-oembed-support/#post-7336485)
 * Thanks for the feedback. I’ll add that functionality to the next release.
 *  Plugin Author [Jeremy Green](https://wordpress.org/support/users/endocreative/)
 * (@endocreative)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/add-oembed-support/#post-7336630)
 * The support for oembed has been added with the latest update.
 *  Thread Starter [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/add-oembed-support/#post-7336631)
 * Thanks Jeremy! Much appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add oEmbed support’ is closed to new replies.

 * ![](https://ps.w.org/random-content/assets/icon-256x256.png?rev=3454855)
 * [Random Content](https://wordpress.org/plugins/random-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/random-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/random-content/)
 * [Active Topics](https://wordpress.org/support/plugin/random-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/random-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/random-content/reviews/)

## Tags

 * [oEmbed](https://wordpress.org/support/topic-tag/oembed/)

 * 3 replies
 * 2 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/add-oembed-support/#post-7336631)
 * Status: resolved