Questions tagged [oembed]
A protocol for allowing an embedded representation of a URL on third party sites.
173
questions
5
votes
4
answers
27k
views
How to Replace YouTube Videos with a "Click to Play" Thumbnail?
I use a lot of embedded videos (via oembed) on my blog, and that can slow down page loads.
Is there a way to automatically replace YouTube (and other) videos with a thumbnail (preferably the post's ...
5
votes
2
answers
5k
views
Featured Image of Video from oembed
For Wordpress, I want to auto generate thumb of the video embedded on a page using oembed? And then save it as a featured image of the post.
Any idea how to do this?
0
votes
1
answer
90
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 ...
9
votes
2
answers
7k
views
How to wrap oEmbed-embedded video in DIV tags inside the_content?
I am making a Wordpress Theme for a website with video tutorials. I would like to put the video that is embedded in the content (with oEmbed) in a apart div.
An example
The full content (output from ...
0
votes
1
answer
1k
views
Auto embeding Vimeo/Youtube in custom fields (tinyMCE editor)
I'm using 2 extra TinyMCE editors on my pages to add extra textfiels in my theme pages. I now realize that the auto-embed feature is not supported on content delivered thought custom fields. So i need ...
1
vote
2
answers
4k
views
How can I force oEmbed to display fixed height & width dimensions?
I'm trying to explore new ways of embedding videos on to my site as a few of my contributors are having trouble viewing flash embeds when they use the preview function.
Ideally it would be easiest to ...
1
vote
2
answers
238
views
extra text in Vimeo Embedded videos
For a WordPress site I am working on, there is a jquery slider (based on the coda slider) where videos are presented.
All of the videos are from Vimeo.
If a video is playing and someone slides to the ...
1
vote
1
answer
3k
views
oEmbed not recognising Vimeo URLs
I am trying to embed a Vimeo video into a post. I am inserting the URL into the page like so.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
http//vimeo.com/1234
Lorem ipsum dolor sit ...
3
votes
2
answers
1k
views
Wordpress refuses to show oembed URL
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/...
5
votes
1
answer
6k
views
oEmbed, thumbnails and wordpress
Wordpress has wp_oembed_get, which I use to get rich media content with embed.ly. I've previously used oEmbed api calls such as this. As you can see it provides thumbnail_url, which I like to use ...
1
vote
1
answer
2k
views
How to modify the HTML formatting of an oEmbed link?
I am trying to add oEmbed DeviantArt integration to a custom theme.
I found that first step is quite easy, I added
wp_oembed_add_provider( 'http://*.deviantart.com/#/d*', 'http://backend....
4
votes
1
answer
778
views
Changing Oembed max width based type of page
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 example on the index pages i want it to ...
1
vote
1
answer
537
views
Is there a built in function to see if a URLis oEmbed Compatible?
I want to be able to take a url and see if the domain is one of the ones Wordpress supports to add embeds via oEmbed. Is there a built in function that does this in WordPress or would I need to ...
1
vote
1
answer
767
views
OEMBED seems to have stopped working
I had upgraded from 3.0 to 3.1 and oembed worked normally. All of a sudden I've lost embedding when directly pasting video url into the editor. My embed setting is selected under "media". Any ideas ...
0
votes
2
answers
1k
views
Different size video display for category page (smaller) & detail page (larger)
I have a 'media' category page that pumps in videos / image galleries. I'm looking to have a smaller size video display (vimeo / youtube) on the category page, and the full size video on the single ...
5
votes
1
answer
2k
views
Is it possible to remove height and width attributes from oEmbed video embeds
I was wondering if it's possible to use oEmbed that is built into the core of WP to display video embeds but somehow remove the height and width attritbutes in the output? I know the functions exist ...
2
votes
1
answer
1k
views
Making oEmbed work on the excerpt field
How can I make oEmbed work on the excerpt field so I only have to paste the youtube url in there and then be able to echo 'get_the_excerpt()'?
I also want to filter oEmbed and change the wmode but I ...
3
votes
3
answers
4k
views
Extract the first oembed url inserted on the content of a post
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 a way to style it differently from the rest of the content.
7
votes
2
answers
5k
views
how to create a conditional content_width for a wordpress theme?
I'm trying to create a conditional statement for the content width in the functions.php of my theme. So some categories will have a content_width of 580, some will have 900. This will make the oEmbed ...
8
votes
8
answers
15k
views
WP Oembed not passing through the "autoplay=1" variable
I'm having a problem here:
I am passing this through a custom field: http://www.youtube.com/watch?v=E6P1Q-UycHA&autoplay=1
(notice the autoplay=1)
But when I load the video on my theme using ...
1
vote
1
answer
467
views
WordPress kills an iframe's apostrophes
I'm using an iframe to let multiple sites embed one interactive element. On the iframe's actual page it works fine, and it looks fine on another website I embedded it. But when I embed it in a ...
5
votes
1
answer
1k
views
Markup of oEmbed codes in the editor?
Is there a way to give oEmbed codes a special markup in the visual editor? In my dream implementation you paste an oEmbed-enabled url in the editor, which will then automatically replace it with a ...
3
votes
1
answer
474
views
Displaying oEmbed errors?
Sometimes embedding an item via oEmbed is not possible, for example when a YouTube video has embedding disabled. The oEmbed service will return a 401 Unauthorized, and the code will not be converted.
...