The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
57 views

change output location of plugin function using a custom hook

I'm running the YouTube Video Fetcher plugin and it fetches youtube videos and displays it on your website. However, instead of displaying the video after the post, I want to hook the code into a ...
0
votes
1answer
141 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
1k views

How do I display Youtube/Vimeo video ID on custom post type when user enters it in custom meta box?

I have created a 2x shortcodes that displays a youtube video and vimeo video when the user enters the videos id in it, for example: [youtube id=""] [vimeo id=""]. Instead of entering this in my post ...
0
votes
1answer
77 views

How to save post change url youtube link?

In functions.php i using this to change width url from youtube: add_action('save_post', 'set_url_youtube'); function set_url_youtube() { $post = get_post($post_id); $content = ...
-2
votes
1answer
205 views

How do I add a video to a custom field instead of a post body using Automatic Youtube Video Posts plugin?

I'm using the theme called wptube2 and using a plugin with it called Automatic Youtube Video Posts so it can import every video I upload on youtube. It does import every video (which is PERFECT for ...
1
vote
0answers
203 views

How to change the way wp_embed handles only youtube videos?

What i'm trying to do is have youtube videos show a div when they stop playing. Wordpress replaces youtube links automatically with embed code. Instead I'd like to replace it with something like: ...
1
vote
0answers
136 views

Is it possible to enqueue the Youtube API script or does it have to be inline?

The code below is the main part of a function in my functions.php which returns a div and script which ultimately output a youtube API iframe to the template where the code had been called from. At ...
0
votes
0answers
18 views

How to make Youtube short code transfer

I have moved my wordpress from wp hosted to privately hosted. I exported my posts and imported them in to my new site. Many posts included youtube embeds that look like this ...
0
votes
0answers
17 views

Autoplay video on facebook from wordpress blog

Is there a way to post a link of a youtube url from my wordpress platform AND have viewers auto play (watch it) on my facebook timeline without redirecting to my blog? I am currently using a Facebook ...
0
votes
0answers
53 views

How to load post_meta for custom post type via Ajax

I'm trying to load a YouTube video via ajax outside the loop. I have it working on regular pages, but not anything loaded via ajax. A user would click a button, then a YouTube video will load via ...
0
votes
0answers
193 views

Pull latest Youtube Video from json url and make new post

I am trying to automatically "add-new" Wordpress post when a Youtube User uploads a new video. Using wp_insert_post(); I can echo what I need to, but how do I write a function that determines: "If ...
0
votes
0answers
91 views

Get First Image Or youtube Thumbnail with link to youtube video

Looking for a single function to grab the first image or video thumnail (with link to the video location i.e. youtube) Havent quite found one that will work. My youtube file starts with there new ...
0
votes
0answers
63 views

Search for featured image, then for first image, then for video thumbnail

I want wordpress to use featured image to create thumbnail. If there is not, then first image of the post. If not, video thumbnail. Can anyone help me modifying the code? Thanks in advance. USED ...