I need to change the way WP outputs html when given an embed URL within the content. Example content within the WP editor: This is standard content and will...
I am using a modal to load post content via AJAX. Inside the post’s template I am using wp_oembed_get() to embed different types of media (YouTube, Vimeo, Flickr, and...
I recently built a theme that utilises the oEmbed feature in WordPress. Where possible, I like my themes to validate via W3C. The content of the website is driven...
When you hover over my drop-down menu using IE8 or IE9, the menu div will display behind the YouTube embedment. It works fine on all other browsers. Upon research,...
I have a filter working to wrap embed_oembed links in a responsive wrapper. See code. add_filter('embed_oembed_html', 'wrap_embed_with_div', 10, 3); function wrap_embed_with_div($html, $url, $attr) { return '<div class="responsive-container">'.$html.'</div>'; } The...
I need WP to show an embedded representation of a url such as http://domain.com/1121 using oembed. I have setup http://domain.com/1121 with a discovery link: <link href="http://www.domain.com/generator/oembed/?url=http%3A//domain.com/1121" rel="alternate" type="text/xml+oembed" />...
I want to extract the first oEmbed url inserted on the content of a post in order to put in a meta tag from the header, or elsewhere as...
How do i change/filter the oembed max width settings (as set by ) admin -> media -> settings -> “Maximum embed size” before the oembed code gets executed. For...
Is there any easy way to detect if an oEmbed URL is still returning any content? And, if so, is there a way to replace the missing oEmbed content...
By default running content through the_content filter automatically checks for oEmbed content. However when returning data through heartbeat_received the filter for oEmbed doesn’t seem to work. For example –...