A protocol for allowing an embedded representation of a URL on third party sites.

learn more… | top users | synonyms

0
votes
2answers
182 views

How to add oEmbed support to my theme?

oEmbed does not seem to work on my theme. I simply see the bare URL. I haven't been able to find instructions on how to implement it. Thanks.
7
votes
1answer
219 views

When oEmbed fails, display an alternative

I want to specify an alternative image that will be displayed when oEmbed fails. The specific use case is to offer an alternative when China (or other countries) block YouTube. We know the YouTube ...
1
vote
1answer
386 views

Any way to use a custom Parameter for vimeo embed without using an iframe?

I am trying to get some oembed parameters attached to my Vimeo clips. I tried to get it going using the following two instructions: Passing Parameters to a Vimeo link in a WordPress Custom Field - ...
1
vote
1answer
277 views

How can I replace an oEmbed URL in post with actual embed HTML

What I want is to get the output of the Twitter oEmbed system into my actual posts. IMHO the embed output itself is high-quality, semantic HTML and I'd rather have it inside the post than in the embed ...
0
votes
1answer
69 views

Add class to oEmbed video from within post editor?

I'd like to be able to add classes to oembed videos on the fly in the post editor. This way I could have some videos act like images and alignleft or alignright and have text wrap around them, while ...
0
votes
1answer
262 views

oEmbed youtube video aspect ratio

When I insert youtube video in my post by just putting the link(http://youtu.be/KvtkknNawCQ). The video aspect ratio becomes 4:3. How can I change to 16:9?
0
votes
1answer
69 views

After import, oEmbeds non-functional until manual republish

I've just finished cleaning up the data from an application I was using previously and have got everything into a few WXR files. As a final test, I just imported them back into a local test ...
1
vote
0answers
12 views

Fallback for oEmbed content

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 with some kind of fallback content? For instance, if ...
1
vote
0answers
175 views

Run oembed separately outside the_content()

I have this structure for my content.php : <div class="featured"> <!--featured image here--> </div> <h1 class="entry-title">Post Title</h1> <div ...
1
vote
0answers
46 views

Conditional check for embedded video in the_content

I have a site where single.php displays the post stuff in this order: title featured image the_content I would like to remove the featured image IF the_content includes an embedded link (f.eg. to ...
1
vote
0answers
126 views

wp_insert_post iframe missing

In my install, I used one custom page. Here I put one text field and the fck editor. This is for the title and the content. I need to insert this into a page. I used the following code $my_post = ...
0
votes
0answers
26 views

oEmbed single custom field with multiple values

I need to display a single custom field with multiple values, but I need to display those values with oEmbed on it. I found this, but it only shows a single value: echo wp_oembed_get( ...
0
votes
0answers
25 views

Why are iframes from WordPress oEmbed stripped with wp_kses_post?

The docs for wp_kses_post() say "Sanitize content for allowed HTML tags for post content." iframe in general is an allowed tag, but more specifically I think it should allow tags created by WordPress ...
0
votes
0answers
36 views

How to get generic Oembed in custom field?

I'm pretty tired right now and I guess I'm missing something. I use this piece of code to output youtube videos in my articles with a custom field. 'video_url' being the custom field name and the ...
0
votes
0answers
83 views

Calling an external file using ajax

I'm trying to create a Medium-Like editor on Wordpress. I'm using this https://github.com/orthes/medium-editor-insert-plugin I've corrected the code about embedding images, but I still have problems ...
0
votes
0answers
59 views

How to add a field to live preview in post editor?

WordPress 4.0 allows live previewing of certain shortcodes while editing a post. How can I customise the options that appear when I edit my embedded video? I want to add a custom field below the ...
0
votes
0answers
211 views

Is There Something Wrong With the Iframe Video Embed Feature in WordPress 3.9.1?

Issue: When selecting & embedding the video embed code into a WordPress site, the video is not showing up or playing. From my understanding, WordPress now automatically configures for Iframe Ebmed ...
0
votes
0answers
85 views

Conditionally enable autoplay when using oEmbed in a custom widget

I'd like to have all oEmbed urls (youtube, vimeo, soundcloud, etc.) behave as they usually behave, with one exception. In my theme I've created a widget that gets data from a given post. The post ...