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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

Fetching video information using oEmbed without API key - Is it deprecated? Any limitations?

Hello Stack Overflow community, I'm currently working on a project where I need to retrieve video information by using the video ID. My current approach involves making an API request to my backend ...
Yetispapa's user avatar
  • 2,226
-1 votes
1 answer
49 views

What's an efficient way of finding the correct oEmbed provider for a URL?

I stumbled upon the oEmbed spec, and found they also have a providers.json file where you can find all their known oEmbed providers. It's basically one big array, with objects like these: { ...
Svish's user avatar
  • 154k
0 votes
0 answers
118 views

CKeditor5 media embed

Im developing an application that uses ckeditor5, when I put a media embed I can visualize it, but when i got the source from the database, I cannot see it on the web page, This is the html that i got ...
Ismael Nunes's user avatar
0 votes
0 answers
325 views

Instagram oEmbed API Invalid parameter

I have a Facebook app with advances access to oEmbed Reads permission. For more than a year now, I've been using the Instagram oEmbed endpoint on Instagram accounts with no issues. Since a month ago, ...
KinaneD's user avatar
  • 306
0 votes
0 answers
364 views

Wordpress video Gallery using ACF repeater, Vimeo and oEmbed field

Really struggling to display a simple video gallery... I've set up an ACF repeater with two sub fields, one is an oEmbed field for the video URL (coming from Vimeo) and one is a text field to show the ...
Shaun Taylor's user avatar
0 votes
0 answers
72 views

How to know when an iframe video (Vimeo) is done loading?

I'm embedding Vimeo videos on a page in a React app const videoData = [ { title: 'Dry Rubs, Marinades and Brines', src: 'https://player.vimeo.com/video/xxx?h=xxx', }, { title: '...
Jonathan Tuzman's user avatar
0 votes
0 answers
340 views

Issue with Spotify Oembed displaying preview server-side but not client-side

I have a Spotify Oembed on my website but even after I'm logged in, the oembed is still in preview mode, not able to play full tracks. It works on Codepen and on my localhost via Flask. This is my ...
Jahziella's user avatar
4 votes
1 answer
814 views

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. <figure class="media&...
mcclosa's user avatar
  • 1,025
0 votes
0 answers
40 views

Facebook oEmbed width

I'm trying to make a request for a Facebook oEmbed but it seems I'm unable to request a responsive width. It looks like the legacy API returned a responsive response, but the current API only seems to ...
Simon Belmont's user avatar
0 votes
1 answer
447 views

Youtube oembed 401 unauthorized for some videos

I'm currently facing a 401 Unauthorized error using the ruby gem "ruby-oembed" which use oEmbed and noembed libs. I tried it directly with oembed and noembed and I got the following result $&...
Gaeguri's user avatar
  • 465
0 votes
1 answer
413 views

Mastodon Post [toot] Embed - Change to Light Theme

Mastodon offers an embed option for individual posts/toots by adding /embed at the end of the post URL. However, it seems that Mastodon always defaults to a dark theme. For example: https://mstdn....
Elad Ratson's user avatar
1 vote
0 answers
322 views

How to implement facebook oEmbed API - Not able to generate App Review

we're customising a white-label CMS solution for a customer and want to allow for facebook/insta embeds. We would like to implement this feature using facebook's and instagram's oEmbed API. However, I ...
Hannes's user avatar
  • 11
0 votes
1 answer
447 views

Got approved for oembed but still receiving "your use of this endpoint must be reviewed and approved by Facebook"

I'm struggling a lot with this API. I just want my users to be able to embed Facebook & Instagram's post on my website. I have asked access to the Oembed Read permissions. After 5 days I got, what ...
Gaeguri's user avatar
  • 465
0 votes
1 answer
1k views

Instagram OEmbed - OAuthException 200 Provide valid app ID

I keep getting the error message: {message: '(#200) Provide valid app ID', type: 'OAuthException', code: 200,... I can get the HTTP Get response with curl and by entering the URL, but when trying to ...
Jes's user avatar
  • 53
3 votes
0 answers
675 views

Why Wordpress Gutenberg oEmbed return 404 or "oembed_invalid_url"

I have wordpress deployed on subdirectory, like this: example.com example.com/blog on number 2, when i tried to embed video from youtube (i already check that video could be embed) the oEmbed API ...
Renaldi Yulvianda's user avatar
-2 votes
2 answers
1k views

Wordpress ACF oEmbed field - Embedding Bandcamp content

I've set up with Advanced Custom Field a custom oEmbed field, called embed. And it's displayed in the front end in the simplest way : the_field('embed'); Pasting the media url from Youtube, Vimeo or ...
koji's user avatar
  • 1
0 votes
1 answer
3k views

Getting "Invalid OAuth access token." response for /instagram_oembed endpoint using Instagram Graph API

"Invalid OAuth access token." for instagram_oembed I have gone through the required steps to create an app, add "oEmbed Read" permissions to it, submit it for app review, get ...
Will's user avatar
  • 73
0 votes
1 answer
543 views

Web Component that can request another HTML URL and inject it into it's shadow DOM

I spent some time today with Lit trying to make a simple WebComponent that makes a HTTP GET to a URI, which returns a fully formed HTML document, and I want to inject said HTML document into the ...
empire29's user avatar
  • 3,759
4 votes
0 answers
158 views

oembed - how is the scheme URL published?

Providing discovery of your web page in oembed means adding a link such as <link rel="alternate" type="application/json+oembed" href="http://flickr.com/services/oembed? ...
user30803's user avatar
  • 845
1 vote
0 answers
95 views

How to wrap non oEmbed videos with div?

There is this function: /** * Wrap embed iframe with div. */ function div_wrapper($content) { // match any iframes $pattern = '~<iframe.*</iframe>|<embed.*</embed>~'; ...
jojoreni's user avatar
2 votes
1 answer
459 views

Custom oembed provider not getting added to Wordpress

What I want to achieve I want to add a custom oembed provider to my wordpress site. The custom oembed provider is my own web app. What I have implemented I have added the following code to the ...
Antoine Bacalu's user avatar
0 votes
1 answer
511 views

Use Embed.js in NUXT

I need to use oEmbed in NUXT. How to use this plugin called Embed.js in NUXT? This is from their GitHub: // You need to use plugins or presets to do anything. By default embed-js does nothing. Let's ...
Tom's user avatar
  • 5,688
0 votes
2 answers
2k views

Why am I receiving this JSON Decode Error?

Here's what I'm doing. I'm sending a get request to a reddit oembed endpoint. I want to parse the returned json and grab the raw html to embed a reddit post onto my django page. The error I receive ...
nick_rinaldi's user avatar
1 vote
2 answers
290 views

Vimeo Thumbnails for private video in PHP

I have tried every single answer on this forum and couldn't get a proper working code. So I am posting this again. I want to get the thumbnail of private and hidden Videos from Vimeo. I also have an ...
Martin Jacob's user avatar
3 votes
0 answers
267 views

Video embed to social media site via oembed not working correctly (twitter, slack, facebook)

I've built an application on next.js. For that I'm injecting custom meta tags into the head of page. Following is the content i'm injecting into the Head of document. <title>{`${recordingData....
Khizar Ali's user avatar
1 vote
1 answer
396 views

How to make support the HTML tag "oembed" by the wordpress editor

I want to add the following html code to my wordpress editor but the youtube video is not embeded. The url disappear. <figure><oembed url="https://www.youtube.com/watch?v=btDyQlFQCew&...
Bro15's user avatar
  • 25
1 vote
1 answer
327 views

Add extra query string to src attribute's value of an iframe element that has been generated or outputted by wp_oembed_get() function

I want to add an extra query string to the src attribute's value of the iframe element. I want to achieve this by using PHP or WordPress and not by JavaScript. The thing is that I want to use Youtube ...
Aashish Shrestha's user avatar
3 votes
0 answers
553 views

Vimeo Player is getting 404 error on Oembed Get call

After uploading a video through the Vimeoo Tus upload approach, I redirect to a page to load a vimeo player object and attach it to a div. The player object gets a 404 from the Get request to retrieve ...
Todd McIntosh's user avatar
0 votes
1 answer
2k views

TikTok embed return 403 on some computers

I am trying to create a web app that displays TikTok videos in it. In most computers, that works fine, but for one of the clients, the video is loaded but can not be played. I get the following errors ...
Tomer Shinar's user avatar
1 vote
1 answer
284 views

Implementing oEmbed discovery with a static link

The oEmbed spec requires a site to link to its oEmbed endpoint and encode the current URL in that link. This is quite annoying for static/CDN-served websites that have to now encoding/return the ...
Mark Lalor's user avatar
  • 7,830
4 votes
1 answer
1k views

Unfurl links as videos in Slack

"Slack" can unfurl links as videos, but some services can and some cannot. Vimeo(https://vimeo.com/) can unfurl links as videos in Slack. TED(https://www.ted.com/talks) cannot unfurl links ...
t.kajiri's user avatar
0 votes
1 answer
157 views

the resource was blocked due to mime mismatch

I am getting an error message when trying to use jquery to get the oembed of spotify The resource from “https://open.spotify.com/oembed?format=json&url=https%3A//open.spotify.com/album/...
Andrew Roberts's user avatar
-3 votes
1 answer
434 views

Is there a way to embed Facebook/Twitter posts/videos in an iframe?

I'm trying to find an easy way to embed Facebook and Twitter posts/videos on my website in iframe. For instance, I found the ways on Instagram and YouTube: https://www.instagram.com/p/CINslHSF4EH/...
n4r3k's user avatar
  • 1
1 vote
0 answers
27 views

Tweeter oEmbed tweet type

I am trying to fit oEMbeds in my web app but I would like to know if there is a way to know what that tweet is. As far as i got this is what the oEMbed endpoint returns: { "url": "...
bogdica19's user avatar
1 vote
0 answers
93 views

Cannot find media_id field in new oEmbed Instagram API

I have a piece of code that was using this API https://developers.facebook.com/docs/instagram/oembed-legacy. But it is now deprecated. As you can see it returns media_id in response but the new API ...
Sajjad Zaidi's user avatar
0 votes
1 answer
844 views

Which URL are you supposed to use for the twitter oEmbed API?

I'm trying to embed tweets based on users' search terms. I can retrieve tweets from Twitter's search API, but then none of the URLs I get back in twitter's response are compatible with the oEmbed API, ...
crevulus's user avatar
  • 1,838
2 votes
0 answers
344 views

Why does this Instagram oEmbed html not fit in Swift WKWebView?

I am having trouble getting the entire Instagram embed html to render inside this WKWebView. The following url is being use to query the api: /instagram_oembed?url=https://www.instagram.com/p/...
Weston Mitchell's user avatar
4 votes
1 answer
1k views

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 ...
Ryn901's user avatar
  • 173
2 votes
1 answer
2k views

Size of Embedded Instagram Post

I followed these instructions (https://developers.facebook.com/docs/instagram/oembed/) to embed an instagram photo into my iOS Swift application. However, the instagram post does not fit the width of ...
Dogahe's user avatar
  • 1,378
0 votes
1 answer
750 views

How to integer an oembed javascript tag inside a VueJs component?

I have an "embed" field used by my users for transform a simple link to a rich content link (link with image, title, description, etc.). Example: Note: I use this library to get all link ...
Axel Briche's user avatar
0 votes
1 answer
455 views

How to display all oembed fields on custom page with ACF

I should create a page where you can view all videos (oembed field) of a specific custom post type. Example: Custom Post Type = Project Inside Project there are 4 articles and inside each of them 4 ...
Rob's user avatar
  • 5
1 vote
2 answers
2k views

Run Javascript from a URL in WKWebView

I am following these instructions (https://developers.facebook.com/docs/instagram/oembed/) to embed an instagram photo into my iOS Swift application. The part I am not sure how I am supposed to do is ...
Dogahe's user avatar
  • 1,378
4 votes
1 answer
3k views

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=...
Jezwin Varghese's user avatar
1 vote
1 answer
455 views

Embedding multiple videos using oEmbed and Javascript

I'm trying to embed multiple videos to a web page using Vimeo's oEmbed. The idea is to simply enter the url in the CMS which will generate a div for each item containing the code below. This ...
Ken's user avatar
  • 584
0 votes
0 answers
533 views

WordPress: Fix oEmbed and <--/wp:paragraph--> in shortcode?

I have created shortcode that will show to non-logged users (non-subscribers) part of text, or 100 characters. And for logged in users (subscribers) it will show full content. function subscriber_only(...
Alex Media's user avatar
0 votes
1 answer
1k views

Embedding Vimeo password protected vidoes on a white-listed domain

I know this question has been asked before: Vimeo - Sending password via javascript api Show password protected Vimeo video without password How to embed a password protected video by sending password ...
r_honey's user avatar
  • 883
3 votes
1 answer
453 views

Facebook Oembed returns unsupported browser page for HttpRequestMessage with UserAgent and Referrer

From my ASP.Net Core MVC app, I am trying to fetch OEmbed JSON from Facebook using server-side request from my local machine, but I'm still getting an unsupported browser page. What else do I need to ...
Jonas Arcangel's user avatar
1 vote
2 answers
3k views

How to use an oEmbed json response in my React App

I'm trying to embed an oEmbed response in my React app. The Response looks like this. { "version": "1.0", "type": "video", "title": "Scramble up ur name & I’ll try to guess it😍❤️ #...
Andrew Richards's user avatar
1 vote
1 answer
420 views

How can I customize my WordPress post's generated wp-json oembed?

I've noticed through LinkedIn Inspector that my post's thumbnail is being grabbed from the oembed generated by wp-json rather than my Yoast SEO open graph meta tags. How can I customized the oembed to ...
user3376065's user avatar
  • 1,147
0 votes
1 answer
157 views

Why do my apostrophe-oembed Vimeo requests fail in hosted environment?

I have tried to dig into this issue a few times now, but haven't had the time fully fix it. Here is the issue: When deployed on Google Cloud Platform, I am unable to embed new videos, edit videos, or ...
Blaine O'Brien's user avatar

1
2 3 4 5