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
2
votes
1 answer

How can I get oembed json for reddit comment?

I'm trying to use python-oembed library to get oembed comment from reddit(https://github.com/reddit/reddit/wiki/oEmbed): import oembed consumer = oembed.OEmbedConsumer() endpoint =…
Marcin Doliwa
  • 3,639
  • 3
  • 37
  • 62
2
votes
1 answer

How to intergrate a single tweet into your website

Right now im building a simple html/css site for a friend. The homepage is a series of grid block divs that hold some content. There are currently 3 block divs we have marked for social media posts. So for example, he wants his latest tweet to…
Davabo
  • 115
  • 1
  • 2
  • 10
2
votes
2 answers

"Unlink" echoed result from database

I'm using a plugin called Jquery-Oembed-All to embed audio from soundcloud. I have the track name, year and URL stored in a database and after a query the audio is embedded on my website. My problem is that the displayed text(track name & year) now…
Halvar Is
  • 51
  • 5
2
votes
1 answer

Is there a standard way of linking to a tweet using solely the ID?

I have a database of Tweet IDs, acquired from search/tweets, that I need to eventually convert to oEmbed format. In order to do this, the first step is to get a Tweet's URL. How can I link to a tweet using only the ID?
jonlambert
  • 432
  • 7
  • 14
2
votes
3 answers

Responsive videos using oembed in Wordpress 4.2.x?

Is it possible to make videos in WordPress 4.2.x responsive using the oEmbed shortcode? If not, are there better solutions than having to use some outdated plugin? I can hardly imagine that WordPress 4.1 and higher cannot place responsive content…
2
votes
0 answers

Display first oembed only wordpress

I am trying to create a function for the video and audio post format to display only the first oembed media in the content. I was able to figure out how to create the content filter and have the function only apply to video and audio post format. …
Jstesting
  • 55
  • 2
  • 8
2
votes
2 answers

Twitter oEmbed cross-origin request blocked

I'm trying to use the Twitter oEmbed API to make a request for an embedded tweet. The code is super-simple right now: xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { …
puzzl
  • 833
  • 9
  • 19
2
votes
0 answers

How to render embedded tweet widget on the server using node.js?

My goal is to fetch the HTML & CSS for a tweet widget (like the one below) on the server. Calling Twitter's OEmbed endpoint only returns the bare HTML for this tweet:
2
votes
0 answers

WordPress wp_oembed_get function returning false

Function is returning false every time, what could be the causes? This is somewhat new to me. Do I need anything else to test this…
Naner
  • 1,292
  • 6
  • 25
  • 43
2
votes
2 answers

Using the url query parameter with a controller

I am attempting to implement an oembed provider using the Silverstripe framework but have come across an issue. I have a controller routed from the url /omebed.json and it works fine if I call something like…
CJSewell
  • 183
  • 2
  • 8
2
votes
1 answer

Use wordpress built in mediaelement.js to embed brandless youtube videos using a function

I am trying to find a function that uses mediaelement.js player to embed relatively brandless youtube videos. As mediaelement.js is built into Wordpress surely I can replace the youtube branded iframe embed code given back from oembed with a…
user1721230
  • 317
  • 1
  • 6
  • 19
2
votes
1 answer

set an id for the youtube iframe with wp_oembed_get in wordpress

My theme uses wp_oembed_get for embedding youtube videos by iframe. is it possible to give the iframe an id? I need it so use the youtube api. Thank you
Marc Ster
  • 2,276
  • 6
  • 33
  • 63
2
votes
1 answer

Adding parameters to vimeo videos via wordpress oembed

I'm trying to add parameters to vimeo video's that are embedden via Wordpress' oembed. I've managed to do this for youtube video's with the code below. I use this function in functions.php and it works like a charm. I've edited the code to do the…
Rik
  • 31
  • 2
  • 7
2
votes
1 answer

Using Oembed with Hulu (and understanding JSONp)

If anyone can shed any light on any of this process, that would be sweet. Here's the deal. Given the Hulu video URL (e.g. 'www.hulu.com/watch/154344'), I want to be able to use Javascript (w/ jQuery is fine) to retrieve the embed url (i.e.…
Pete
  • 7,289
  • 10
  • 39
  • 63
2
votes
1 answer

How to fetch/embed facebook's photos/videos/statuses?

I'm trying to embed Facebook's photos, videos or even statuses, but I couldn't fetch anything from Facebook, For example, I'm trying to embed this Photo Post:…
AbdelHady
  • 9,334
  • 8
  • 56
  • 83