/ home / web / oembed - embed stuff! /

oEmbed - Embed Stuff!

11:14 pm, February 25, 2016 528 203 1.0 @ 200 wpmrate up KruXoR source
1

Original Post Date: 12:47 am, August 11, 2014

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

A consumer (e.g. Pownce) makes the following HTTP request:

  • http://www.flickr.com/services/oembed/?url=http%3A//www.flickr.com/photos/bees/2341623661/

The provider (e.g. Flickr) then responds with an oEmbed response:

{	"version": "1.0",	"type": "photo",	"width": 240,	"height": 160,	"title": "ZB8T0193",	"url": "http://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg",	"author_name": "Bees",	"author_url": "http://www.flickr.com/photos/bees/",	"provider_name": "Flickr",	"provider_url": "http://www.flickr.com/"
}

This allows the consumer to turn a URL to a Flickr photo page into structured data to allow embedding of that photo in the consumer's website.

https://github.com/iamcal/oembed 

oembed.com
11:14 pm, February 25, 2016 528 203 source

Comments

Reports

Add Report

Report's

KruXoR

This is a site where i basically just post whatever i feel like at the time, it has no one particular topic but usually. Just my ideas and links and random bits of code that i find.

Follow Me..

@KruXoR

Minecraft

Looking for the kruxor minecraft server mc.kruxor.com? we have migrated it to... icekraft.com if you want to play on there just connect to play.icekraft.com:25535 or mc.kruxor.com should also still work.

Favorite Links