The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
9 views

How to achieve that oembeded vimeo and youtube links in post do not collide with same origin policy for frames?

If i add a video link from vimeo or youtube in a post like e.g. : http://vimeo.com/17079380 http://www.youtube.com/watch?v=a4S7k13mUlM& then the output in the frontend works, the two videos ...
0
votes
1answer
25 views

How to make my new theme read [youtube id=“id of the video here” width=“600” height=“350”]?

I recently changed the theme on my website pocketlife.com.br , and now all my videos, which were used on the posts on this format: [youtube id="only the id here" width="600" height="350"] are not ...
0
votes
1answer
28 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
28 views

How to change src link in YouTube?

I want to add html5=1 in YouTube link. How can I do that? I try something like this: function add_embed_filter($html, $url, $attr) { $new = str_replace('oembed', 'oembed&html5=1', $html); return ...
1
vote
0answers
111 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: ...
0
votes
2answers
64 views

WordPress fails to embed video URL

WordPress or my theme fails to embed this video URL: https://www.youtube.com/embed/vsTrAfJFLXI?rel=0?controls=0 but works with this URL: https://www.youtube.com/watch?v=vsTrAfJFLXI I need to ...
3
votes
1answer
261 views

Add a YouTube or Vimeo video as a post attachment?

I'm developing a gallery plugin and I was wondering if I could add a YouTube and Vimeo "embed" option to the media uploader to be able to add YouTube and Vimeo videos as attachments to a post instead ...
0
votes
0answers
71 views

wp_enqueue & youtube API on different templates

I'm trying to use the youtube API on two of my template pages. Obviously I want to enqueue it correctly. When I put this code in my footer.php page, I got it to work: <script ...
0
votes
1answer
74 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
127 views

Div around YouTube video

My posts have YouTube embedded videos in the form of: <object width="600" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ...
0
votes
0answers
53 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 ...
0
votes
1answer
561 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 ...
1
vote
2answers
374 views

Lightbox Plus ColorBox plugin and auto playing YouTube video

I'm using WP v3.6 and v2.6 of the plugin and using inline lightboxes to open a YouTube video embeded with an iframe. My boss wants the video to play when the lightbox opens. So originally I tried: ...
0
votes
1answer
345 views

Use Click Image to Play Youtube Video in a Wordpress Loop

Here is my code on Playing Youtube Video when an image is clicked.. The HTML <div id="my-video" style="display:none;"> <div class="responsive-video"> <iframe ...
0
votes
1answer
58 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 = ...
0
votes
0answers
73 views

YouTube Autoposting Link and Custom Field

I have a problem. I have plugin Automatic Youtube Video Posts. This plugin is importing videos to my wordpress. It works well, but in my posts this plugin does not put the Youtube link on the page. ...
0
votes
1answer
316 views

Embed YouTube video from custom field value

I'm collecting Youtube video links in custom fields, but when I echo out the value it just prints the URL. How do I get WordPress to convert it to be embedded? Example: <?php global $post; ...
2
votes
2answers
480 views

Get all Youtube video's from posts and embed them on a different page

Is this possible? I want to let it check all my posts to see if there is a embedded Youtube video. If so, I want to show that on a different page, embedded and linking to that particular post... I ...
0
votes
2answers
302 views

How To Use YouTube Url Stored In Custom Field To Get Video Image and Set it As Featured Image

I have sourced the following code which captures the URL for a YouTube video placed in the content/body the code then gets the video image from YouTube and sets the image as a featured image. ...
0
votes
3answers
227 views

Embedding Youtube video on comments

In my posts, you can embed a video of Youtube by adding the link to the post. You don't have to do anything beside that. On my comments, I can't do the same thing. Is it possible to embed Youtube ...
0
votes
0answers
8 views

WP Oembed Youtube URL From Custom Field With AutoPlay & Height Set [duplicate]

I already know how to get wp_oembed_get to display a YouTube video URL from a custom field via get_post_meta but where I'm having trouble, is getting things like autoplay, width, height get passed to ...
0
votes
2answers
280 views

how can i display all youtube videos from a users youtube account

I want to display all recently uploaded youtube videos from my youtube account as a widget on the right side of the page. Just like how technobuffalo.com has done. Is there such a plugin that will do ...
0
votes
0answers
79 views

Don't strip iFrame without “unfiltered html” capability

I want some custom user roles to be able to insert youtube iFrames in the wp_editor. But since I don't want these users to have the whole scope of the capability "unfiltered html", I don't know how to ...
0
votes
1answer
370 views

How add class youtube and type/html to oembed code?

How can i add : class="youtube-player" type="text/html" to iframe like : function Oembed_youtube_no_title($html,$url,$args){ $url_string = parse_url($url, PHP_URL_QUERY); ...
0
votes
1answer
720 views

add youtube thumbnail in index and single.php add video

I crating custom wordpress themes for video related website, client can embed youtube video, in index.php only show thumbnail image and title of video then when click thumbnail it goes to single.php ...
1
vote
2answers
59 views

Use oEmbed in List Items

I'm aware that WordPress has oEmbed functionality. But the content to be embedded has to be on it's own line like so: Lorem Ipsum http://www.youtube.com/link/to/content More Lorem Ipsum ...
0
votes
0answers
104 views

Embedding Separate YouTube Players for Each Video in a YouTube Playlist?

I've seen a lot of plug-ins and things that make new posts out of each video in a playlist, but I'm trying to figure out a way to grab all videos from a playlist and list them as separate YouTube ...
-2
votes
1answer
165 views

Fetching Video From YouTube Automatically [closed]

I am using WordPress, and a theme called DeTube. Is kind of a YouTube clone, and I use this website to upload mainly videos from YouTube. Is there anyway to fetch videos and populate all the required ...
0
votes
1answer
183 views

YouTube Sidebar Widget - YouTube service unavailable

I'm using WordPress 3.5 and YouTube Sidebar Widget 1.3.2. The plugin display service is unavailable. Why have I encountered service unavailable? The YouTube video is set to be public and embeddable.
1
vote
0answers
89 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 ...
-2
votes
1answer
123 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
1answer
541 views

Embeding YouTube video via a template function throws iframe cross-domain policy error

I'm using Wordpress 3.5 which natively supports embeds into posts and pages from many sites, YouTube included. When I embed a Youtube video directly onto a post or a page (by simply copying and ...
3
votes
2answers
618 views

Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer

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 found out that many others have ...
1
vote
1answer
877 views

How can i create a function to get youtube video time

Tom J Nowell posted this code to help me retrieve the YouTube video time. Functions // function to parse the code from the URL function parse_youtube_video_id_from_url( $video_url ) { ...
0
votes
2answers
187 views

Custom youtube shortcode that uses $content

I wanna make a simple shortcode that returns the youtube link in a specified size and use the content. Something like: [yt]http://youtu.be/Nl29v5pfxTw[/yt] I have this code, but I want to simplify ...
0
votes
1answer
317 views

Echo do shortcode with custom field not working

I'm using WP YouTube Lyte to show YouTube videos. I'm combining it with Advanced Custom Fields so that the user can just add the YouTube id to show the video. I'm using the WP YouTube Lyte short code ...
2
votes
2answers
3k 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 ...
1
vote
2answers
194 views

How can i add all videos from youtube playlist as post?

I want to add 200 videos from YouTube playlist to my WordPress blog. Each video iframe add as each post to particular category. I searched many plugins but that's not meet my requirement.
0
votes
0answers
22 views

How to be notified when a YT video becomes unavailable on my website? [duplicate]

Possible Duplicate: Being notified when some YouTube video in some post becomes unavailable I asked this question almost one year ago. Perhaps now somebody has developed some plugin to do ...
2
votes
2answers
2k views

Youtube parameters within WordPress embed code?

Ok, so I want to embed youtube videos but also remove the annoying annotations. The following code works great from to embed the video [embed width="599" height="360"]youtube.com/watch?v=mNf0v2WkV0U ...
0
votes
1answer
138 views

Generate a WP post from Youtube Feed

Normally when you get a Youtube feed, it will display the description/title from the YT video. However, I want a post to be generated when a new video is posted on YT so that an admin/editor can go ...
1
vote
0answers
151 views

Feed error: A feed could not be found at youtube.com/… (1 post)

FeedWordPress doesn't work very well with YouTube feeds. The RSS feed clearly exists when I visit the link via web browser, but FeedWordPress can't find it. YouTube feeds work just fine with other ...
0
votes
1answer
167 views

Forcing WP to embedd a video when using a shortcode

With the following shortcode for YouTube videos, how can I make it such that WordPress still automatically embeds the video for me? <? /** YouTube shortcode, usage: [youtube align="alignleft" ...
0
votes
1answer
699 views

plugin to upload to youtube via wordpress

before you say it, i know that in most situations it's easier to do this the other way around (i.e. upload via yt site then embed) but i need a plugin to upload/manage yt videos via the wordpress ...
0
votes
1answer
276 views

Choopy Video Playback in a popup using Artiss Youtube Embed [closed]

I'm using Artiss Youtube Embed to embed youtube videos on my site which works great because it allows me to control all the parameters for the video player. My issue is that when the video has choppy ...
0
votes
3answers
213 views

Publishing a video from blog to youtube

Is there any plugin for publishing a video from wordpress blog to youtube? I have a wordpress blog and user will upload videos from wp admin and these videos should be published to youtube or ...
0
votes
1answer
150 views

Can someone please help me find a solution to my youtube embed problems? [duplicate]

Possible Duplicate: Any way to use a custom Parameter for youtube embed without using an iframe? I have been trying to figure out the best way to do this, and I'm wondering if someone can ...
1
vote
3answers
2k 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 ...
7
votes
4answers
5k views

How do I embed youtube videos with https instead of http in the URL?

I'm running a site that only communicates over SSL/https so if I embed a youtube video using http I will get an error message saying the site is'nt fully secure. Is it possible to rewrite something so ...
4
votes
1answer
117 views

Being notified when some YouTube video in some post becomes unavailable

Is there a plugin or some PHP code that notifies you whenever a YouTube videos becomes unavailable in some post of a WordPress website ?