Title: Testing wp_oembed_get function?
Last modified: August 22, 2016

---

# Testing wp_oembed_get function?

 *  Resolved [naner13](https://wordpress.org/support/users/naner13/)
 * (@naner13)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/testing-wp_oembed_get-function/)
 * When I’m adding a post, select the VIDEO format, provide an URL, and go to the
   PREVIEW page all I get is the URL and not a video player.
 * Same behavior when using a shortcode, all I get is the URL and not a video player.
 * I have tried disabling and enabling plugins, no luck.
 * If the problem is related to the wp_oembed_get function, what is the easiest 
   way to test it? What is the minimum files I need in order to be able to call 
   this function?
 * What else should I be considering?
 * Thanks in advance.

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/testing-wp_oembed_get-function/?output_format=md)
[1](https://wordpress.org/support/topic/testing-wp_oembed_get-function/?output_format=md)
2

 *  Thread Starter [naner13](https://wordpress.org/support/users/naner13/)
 * (@naner13)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/testing-wp_oembed_get-function/page/2/#post-5773589)
 * After a lot of trial and error, the only thing that fixed the problem was changing
   DNS servers on the server, though we can’t really explain why. We looked at the
   network traffic and we couldn’t see anything. Thanks for all your help James.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/testing-wp_oembed_get-function/page/2/#post-5773590)
 * You’re welcome, and thanks for sharing your solution!

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/testing-wp_oembed_get-function/?output_format=md)
[1](https://wordpress.org/support/topic/testing-wp_oembed_get-function/?output_format=md)
2

The topic ‘Testing wp_oembed_get function?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/testing-wp_oembed_get-function/page/2/#post-5773590)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
