Title: OEmbed
Last modified: March 23, 2020

---

# OEmbed

 *  [Hembo Pagi](https://wordpress.org/support/users/hembopagi/)
 * (@hembopagi)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/oembed-6/)
 * Hello
 * I would like to build custom oembed handler. I followed the examplle form [https://codex.wordpress.org/Function_Reference/wp_embed_register_handler#Examples](https://codex.wordpress.org/Function_Reference/wp_embed_register_handler#Examples)
   (
   also the updated vesion) but I still see in cosole that: {“code”:”oembed_invalid_url”,”
   message”:”Not Found”,”data”:{“status”:404}} Request created was: [http://localhost:8000/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fwww.forbes.com%2Fvideo%2F6138095413001%2F&_locale=user](http://localhost:8000/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fwww.forbes.com%2Fvideo%2F6138095413001%2F&_locale=user)
 * Any ideas?

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

 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/oembed-6/#post-12574275)
 * Did you check if Forbes does have support for their content to be embedded on-
   the-fly inside other websites?
    As far as I could tell, you’d need to first agree
   on a license with them if you’re going to reuse any of their content outside 
   of their own website.
 *  Thread Starter [Hembo Pagi](https://wordpress.org/support/users/hembopagi/)
 * (@hembopagi)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/oembed-6/#post-12574781)
 * Hi
    Not sure thats the case, as direct link to embed link works nicely: [http://players.brightcove.net/2097119709001/598f142b-5fda-4057-8ece-b03c43222b3f_default/index.html?videoId=6139157952001](http://players.brightcove.net/2097119709001/598f142b-5fda-4057-8ece-b03c43222b3f_default/index.html?videoId=6139157952001).
   They even provide the embed code on their website.
 * I tested with some other websites, and ended up with the same error message.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/oembed-6/#post-12574907)
 * A functioning embed link does not mean the server is a valid oEmbed provider.
   I’m not saying the target is not, only that an embed link is not evidence of 
   it. Typically oEmbed providers include a `<link>` meta tag for discovery with
   an attribute `type="application/json+oembed"` or `type="application/xml+oembed"`
   where the tag’s href attribute is the page’s oEmbed endpoint. The oEmbed spec
   does not require discovery, but then it could require some digging to learn the
   right endpoint.

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

The topic ‘OEmbed’ is closed to new replies.

## Tags

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

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 3 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/oembed-6/#post-12574907)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
