The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
4answers
5k views

Applying automatic link class to images embedded to posts

I'd really love to be able to conditionally apply a CSS class to link elements of images embedded into posts, but I can't seem to figure this one out. Basically what I'd like to achieve is to replace ...
1
vote
3answers
3k views

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

I do not want to display the titles of videos I embed on my wordpress site. The way I've been doing this is using the embed link, inserting the iframe in the wordpress post and adding the custom ...
11
votes
1answer
8k views

Setting a post's featured image from an embedded YouTube video

If I create a post that has an embedded YouTube video in it (so all I do is paste the YouTube URL into the post and let Wordpress automatically embed it for me), is there a way to have the thumbnail ...
3
votes
3answers
529 views

Modify youtube video size on one page and show another size on different page

I have to display three videos (custom post type) on my first page. When clicking on the link, the post is displayed and video should be in default width. Can you help to find out how to change width ...
3
votes
1answer
314 views

How to add new embed handler not supported by oembed

I am looking to embed videos from websites that do not offer oembed support, but the reference offered on wp codex about wp_embed_register_handler() is just too broad for someone like me. I tried ...
2
votes
1answer
2k views

How to create a static player top or bottom of wordpress?

I'm creating two websites, one radio station and one bands website. I want to add a player (already have a php with the player in it) to the top of the page, like a frame. The main point is to have ...
2
votes
1answer
4k views

add_filter to youtube embeds?

hey guys, when posting a youtube video link in the backend (in a post or a page) wordpress is automatically creating the embed code for me. Is it possible to add a filter to that? I'd love to change ...
3
votes
3answers
3k views

Do_Shortcode not working for Embed

I'm trying to use Custom Field types to embed Youtube videos in a more organized fashion and using the Do_Shortcode() would seem to work perfectly, however this: <?php echo ...
4
votes
4answers
460 views

Moving a PHP web-app to Wordpress

I've been running a niche job-search web-site for the past several years. I wrote it from scratch in PHP. Essentially it allows members to search for or post job ads. As you can imagine it has ...
4
votes
2answers
2k views

TED talks shortcode not working

I am trying to embed a Ted talk video using the shortcode: [ted id=myid] But it's not working. It shows the text instead of the video. Is there any configuration I need to check to make it work?
6
votes
5answers
5k 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
3answers
557 views

WordPress embeds in AJAX inserted content

I have a page that is calling in the content from other posts (a custom post type, specifically) and inserting it into the page. It all works great, but I'm losing the functionality of WordPress ...
1
vote
1answer
501 views

How do I embed in a text widget?

I'm trying to embed a YouTube video in a Text Widget and Wordpress 4.0 is stripping out the embed when rendering. For example, if I put this in the body of the widget: Before ...
1
vote
1answer
3k views

Embed .mov file via 'Add Media' not working

I know since WP 3.6 we've been able to upload and embed various file formats and that the 'Add Media' button effectively implements the correct media embed shortcode for us. I'm having a problem in ...
1
vote
2answers
5k views

Google Map iframe in a tab issue

I have embedded a map on the third tab on a page. Page here > 'Itinerary' tab If you go straight to the tab while the page is still loading - it loads the map perfectly. However, if you wait until ...
1
vote
1answer
678 views

Detecting Embed URLs Within post_content

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 be wrapped in a 'p' tag. But check out ...
1
vote
1answer
135 views

Applying class to links around self hosted images embedded to posts/pages

So I need to add a class to links around the images for lightbox purposes. But only to images from the upload directory, not to external ones. I've found this solution by @TommiForsström here: ...
1
vote
1answer
191 views

Embed 'New Post' Form Inside 'New Post' Form

Is it possible to embed a 'New Post' form for one Custom Post Type inside of a 'New Post' form for another Custom Post Type? When a user adds a new post for the custom type 'Event', they should also ...
1
vote
1answer
11k views

how to embed external webpage in my wordpress page

I have two pages to embed within my WP site. Both contain data from an external site which runs our events management database. This data is presented on two pages - one for catering menus offered ...
0
votes
3answers
734 views

Convert all youtube link to embed

I have this function to convert any YouTube URL in any post or page to embed :- function embed_youtube_an($post_content) { global $posts; ...
0
votes
2answers
713 views

pdf (25MB) - how to display and enable download?

I have tried to upload it simply through the media library ,but it didnt display correctly (very low resolution) and some users couldnt even see it (just an empty space) ,so I used an iframe tag in a ...
0
votes
1answer
2k views

Embed HTML5 files/subfolders in post?

I am attempting to publish an Adobe Captivate project to a WordPress blog. The .swf file is easy enough to handle, but the HTML5 version is giving me problems. The way that Captivate outputs HTML5 is ...
0
votes
1answer
378 views

ted talks embed fixed, but can't control size

I used this changes to functions.php that are written in this post: TED talks shortcode not working But I can't figure out how to control the size/ratio now. The video is embedding as way taller than ...
0
votes
1answer
372 views

How do I embed a YouTube video in WordPress 3.0?

I've upgraded to version 3.0. My site is wordswithfriends.net My administration panel looks like the following I thought there was supposed to be a special YouTube button which I don't seem to ...