Closed mglaman closed 3 years ago
See https://codepen.io/api/oembed/?url=https://codepen.io/mglaman/pen/oNBRMeW&format=json
{ "success": true, "type": "rich", "version": "1.0", "provider_name": "CodePen", "provider_url": "https://codepen.io", "title": "Locale formatting of time elements", "author_name": "Matt Glaman", "author_url": "https://codepen.io/mglaman", "height": "300", "width": "800", "thumbnail_width": "384", "thumbnail_height": "225", "thumbnail_url": "https://assets.codepen.io/42103/internal/screenshots/pens/oNBRMeW.default.png?fit=cover&format=auto&ha=false&height=360&quality=75&v=2&version=1619715151&width=640", "html": "<iframe id=\"cp_embed_oNBRMeW\" src=\"https://codepen.io/mglaman/embed/preview/oNBRMeW?default-tabs=html%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=oNBRMeW\" title=\"Locale formatting of time elements\" scrolling=\"no\" frameborder=\"0\" height=\"300\" allowtransparency=\"true\" class=\"cp_embed_iframe\" style=\"width: 100%; overflow: hidden;\"></iframe>" }
The provider name does not match, the repository here is Codepen
Codepen
Also, apparently &format=json is required.
&format=json
See https://codepen.io/api/oembed/?url=https://codepen.io/mglaman/pen/oNBRMeW&format=json
The provider name does not match, the repository here is
Codepen
Also, apparently
&format=json
is required.