Figured it out.
Embed shortcode stores the oemebd data as post meta using md5 hash.
wp-includes/class-wp-embed.php
// Check for a cached result (stored in the post meta)
$key_suffix = md5( $url . serialize( $attr ) );
$cachekey = '_oembed_' . $key_suffix;
$cachekey_time="_oembed_time_" . $key_suffix;
And has a cache mechanism to fetch new data only after a day.
I deleted the post meta and then it started working.
Related Posts:
- Get first video from the post (both embed and video shortcodes)
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- How to apply an ID to Shortcode Embedded iframe
- Responsive Embeds using default embed shortcode
- Auto embeds don’t work for attachment descriptions
- TED talks shortcode not working
- Video embeds work in backend, but are not parsed in frontend
- Shortcode to Gutenberg-block: additional text on front-end and conditional display
- How to save a shortcode in a Gutenberg custom block?
- Disable oEmbed for a Single Shortcode or at Least All Internal Links
- gutenberg widget outputting paragraph marks
- Gist shortcode is not working
- is_admin() returns false in save_post hook with Gutenberg editor
- Embedding Instagram via shortcode doesn’t work as advertised in official docs
- Wrap shortcode inside custom block
- How to create a shortcode for embedding pdf in iframe?
- Responsive embed for the video shortcode
- Hook WP_Embed run_shortcode
- How to register a embed handler as a fallback to a oEmbed handler?
- Detecting embeded video format
- Gutenberg Block with Select from JSON-File
- add action only if gallery shortcode attribute is equal to?
- Specifying a single file from multi-file GIST (wordpress.com) [closed]
- Gutenberg Shortcode Fail
- Gutenberg Shortcode Chooser Block
- Is there any way to set the Featured image in wordpress post editor, using a Getty images embed code
- Gutenberg Shortcode will turn html to html entity
- Gutenberg running code only available in front end within shortcode
- How to modify the HTML output of Gutenberg block? (Youtube)
- Shortcode, vs blocks, vs templates – what would you do for choosing or creating custom post data in editor?
- How to use code in an editor block?
- How to Enable embedding WordPress default gallery in comments?
- Do embed shortcode on wordpress ajax request
- Inserting a variable into a shortcode inside php
- How to stop unwanted splits in excerpts when using shortcodes for sliders or players
- Can’t get default values to work with custom shortcode
- Display a block conditionally based on user input button
- How can I remove the wp_autop filter from a shortcode block in a block theme page template (twenty twenty-three)?
- Not allowing my site to be embedded elsewhere via oEmbed
- How to create blocks from shortcodes?
- What hook runs wpautop on template content?
- convert it into short code & explan how? [closed]
- Enqueue Scripts / Styles when shortcode is present
- Conditionally Loading JavaScript/CSS for Shortcodes
- What does extract( shortcode_atts( array( do?
- How do I escape a ‘]’ in a short code?
- Pass boolean value in shortcode
- Show shortcode without executing it
- Shortcode always displaying at the top of the page
- Redirect function inside a Shortcode
- How to create a shortcode with 1 parameter (atts)
- how to show the syntax of a shortcode
- Custom shortcode being executed when saving page in wp-admin
- Change appearance of shortcode text inside editor
- current_shortcode() – detect currently used shortcode
- shortcodes output before content [duplicate]
- WordPress plugin shortcode not working
- How to add stylesheets only to pages with specific shortcode?
- Using get_option() in JavaScript
- WP Oembed not passing through the “autoplay=1” variable
- Shortcode empty attribute
- How does a shortcode work?
- Shortcode outputs at the top of the_content
- the_excerpt and shortcodes
- Using wp_editor in shortcode
- Remove wpautop from shortcode content / remove whitespace in buffering
- Get current post id witout passing in shortcode
- Why are you using add_action for shortcode?
- How to get URL param to shortcode?
- How to add multiple buttons to TinyMCE?
- Check if post/page has gallery?
- Get shortcode name from within it’s callback function? [duplicate]
- Wordspress add into my javascripts
- Making a Shortcode [NEXT] and [PREVIOUS] to place into specific posts for post navigation
- How do I create a Shortcode that returns text if domain is .com, not .co.uk
- Using preg_replace to separate gallery from the_content?
- Remove specific shortcode from get_the_content()
- How to display the site name in a WordPress page, or post
- Hide/show content starting in the middle of a paragraph
- Combining shortcode and get_template_part
- How can I put a wp_redirect into a shortcode?
- Escaping quotes from shortcode attributes
- WordPress Gutenberg Embed Blocks Are Not Responsive
- Run visual composer code in php page
- short code output too early
- Shortcode in shortcode: How to append variable?
- Remove wptexturize from a shortcode?
- How can i put an array as variable in shortcode_atts?
- Autoembeds don’t work with paragraphs
- Table of Contents with a shortcode
- Create custom [sourcecode] shortcode, the right way?
- Allowing shortcodes inside attributes
- What is the best way to enable nested shortcodes?
- Tinymce – How to hook before or after live shortcodes rendering?
- How to customize a shortcode using the customizer
- Native “playlist” shortcode random playing… How?
- How to Output HTML tags in do_shortcode?
- Modify youtube video size on one page and show another size on different page
- List of all inbuilt WordPress shortcodes
- Nested Shortcode Detection