Questions tagged [oembed]

oEmbed is an open 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.

oEmbed is an open 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.

Project homepage: oembed.com

246 questions
5
votes
1 answer

how does GitHub support oembed?

how does GitHub support oembed? According to this old gist https://gist.github.com/skabber/54099 // URL scheme: http://gist.github.com/* // API endpoint: http://gist.github.com/services/oembed/ // Example call:…
Zo72
  • 14,593
  • 17
  • 71
  • 103
5
votes
3 answers

Get instagram's video media source using oembed endpoints

THE CONTEXT I have a piece of (jQuery) ajax code that has been happily working for about 9 months until the last couple of weeks or so. This code uses Instagram's embedding endpoints that allows me to get the media source (image or video) out of a…
JFK
  • 40,963
  • 31
  • 133
  • 306
5
votes
3 answers

Youtube oembed: How does it calculate the 'width' and 'height' values?

When I use the oembed URL in my PHP code and extract the $video->width and $video->height from my uploaded video, I get values back that don't match anything I've seen associated with my Youtube video. http://youtu.be/p7ftPYU2_0w Original video…
atwixtor
  • 795
  • 10
  • 26
4
votes
1 answer

How to render oembed tag url

I am using a WYSIWYG plugin for Rich Text on Strapi. Adding a media url returns the following string, which I then convert to HTML using dangerouslySetInnerHTML in React.
mcclosa
  • 943
  • 7
  • 29
  • 59
4
votes
3 answers

What's the point of oEmbed API endpoints and URL schemes vs. link tags?

The oEmbed specification mentions 2 different ways of finding the oEmbed content of an URL: Knowing the API endpoint of the website and passing it, through a GET parameter, the URL you want info about, if it matches the URL pattern it…
David Ammouial
  • 300
  • 4
  • 13
4
votes
0 answers

oembed - how is the scheme URL published?

Providing discovery of your web page in oembed means adding a link such as
user30803
  • 845
  • 2
  • 11
  • 25
4
votes
1 answer

Get all Instagram posts using Facebook Oembed

I've followed the guide here https://developers.facebook.com/docs/plugins/oembed/ and it works. My question is, how can I get my post urls dynamically? so I can repeatedly use this endpoint for the number of posts I…
Ryn901
  • 173
  • 2
  • 12
4
votes
1 answer

Getting 404 for vimeo api even though the video is available?

I've been working around the oembed response of two videos. https://vimeo.com/api/oembed.json?callback=vimeoCallback&url=https://vimeo.com/392817533 https://vimeo.com/api/oembed.json?callback=vimeoCallback&url=https://vimeo.com/360905947 First one…
Jezwin Varghese
  • 314
  • 2
  • 16
4
votes
1 answer

Remove author and author_url from the Wordpress oembed json link

I've noticed that Wordpress generates 2 links in header. They contain some oembed arguments. This look like this: { …
user4419473
  • 67
  • 1
  • 9
4
votes
0 answers

How to insert an iframe on linkedIn via oEmbed?

I am trying to embed an audio player in an iframe (for instance: http://radio.immo/share/player_mini/video=false&digest=true&auto=true&resp=false&mode=broadcast&id=97475) to listen to podcasts or live broadcasts within linkedIn posts. Basically,…
4
votes
1 answer

Trouble retrieving OEmbed object in Twitter4j

I am trying to get an OEmbed object from a Status object in Twitter4j then get the html to pass to a webpage. Right now I just have it in a main method for testing. public static void main(String[] args) { ConfigurationBuilder cf = new…
bawgz
  • 41
  • 3
4
votes
1 answer

SoundCloud API: Using oEmbed to specify start and stop time for playing a track

I have a web application integrating with the SoundCloud API for searching and playing tracks. I can successfully stream tracks through the API using SoundCloud oEmbed like so: scope.playTrack = function(track) { SC.oEmbed(track.permalink_url, {…
Cumulo Nimbus
  • 8,785
  • 9
  • 47
  • 68
4
votes
1 answer

Silverstripe. Embedding 2 youtube videos in content area shows the same video in both

I developed a site in Silverstripe (3.1) for a client. Today, he tried to embed a second youtube video into a content area in the CMS (insert media>from the web> paste youtube URL > add URL > insert ). In the WYSIWYG in the CMS the thumbnails for…
Fraser
  • 14,036
  • 22
  • 73
  • 118
4
votes
1 answer

Facebook oEmbed endpoint CORS Error

I am trying to make an XHR request to facebook's oembed but hitting a CORS error. Anybody knows if this is because Facebook doesn't allow CORS requests to the oembed endpoint? If that's the case why would it not be allowed? Is the endpoint supposed…
mkhatib
  • 5,089
  • 2
  • 26
  • 35
4
votes
1 answer

Oembed tweet - twitter gem

This is probably a terribly simple question but i can't figure out how to render an embedded tweet. For simplicity, this is my controller: class TweetsController < ApplicationController def index @tweet =…
Robbo
  • 1,292
  • 2
  • 18
  • 41
1
2
3
16 17