The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
15 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 ...
0
votes
1answer
20 views

Videos out of bound

My videos are out of bound in my blog posts. Is there a way to resize the youtube videos we add in the blog post? Thanks!
0
votes
0answers
14 views

extend native WP gallery to include video embeds

Developing a website for a designer, he should be able to easily add galleries into his posts. Galleries need to accept images, video, and video embeds. Currently i have some code which separates ...
0
votes
1answer
318 views

How to add a download link to a movie from WP media library?

All, I'm creating a custom theme for WP and it has some pages that play videos from WP media library with an HTML5 player. I wanted to also have a link next to the player to allow the users to ...
0
votes
1answer
7 views

Update a Post after a user uploads a video

I am using the WP-File-Upload Plugin: https://wordpress.org/support/plugin/wp-file-upload This plugin allows you to upload a file on the front end and have it "attach" to the post that the plugin is ...
0
votes
2answers
648 views

How do I embed youtube video via url in frontend posting

I would like to embed videos & images by entering url in my wordpress site. In WordPress repsitory there are many plugins for embed video by url but in my site I want to enable this functionality ...
0
votes
1answer
38 views

How to use the conditional homepage tag

I'm trying to display a video in the header of the homepage only but struggling to figure out the correct code. This is the code for the video tag, which seems to be working fine if ( is_home() ) { ...
1
vote
1answer
1k views

How to get Poster (thumbnail) Image of Video

I'm getting all videos using the function below and it's working fine. Now I want to get the videos Poster Image (Thumbnail Image) from that video. How can I get the video Image as thumbnail? I've ...
0
votes
0answers
13 views

Display the video of a post_format Video

I've a post with post_format = video, in which the content are a video and a text (in the default editor). I need to display the video and the text separately. How can do it? For now, I've this code: ...
0
votes
0answers
236 views

wordpress video sharing clone script?

Is there any wordpress video sharing clone script like youtube? i have seen many, but they only allow the admin to upload videos, i want a script where users can register and upload their videos other ...
0
votes
0answers
37 views

Get video attachment ID and display length

I need to show length of a video attachment. Video is in media library. I put the video normally, by wp administration. I am using this code in content.php, inside the loop, after this: <?php ...
0
votes
2answers
564 views

Video post format, extra content breaks video embed

I am using the content-video.php include to show the latest video post on my homepage. The include only shows the video from the post and not the rest of the content, which works well. My problem is, ...
2
votes
2answers
100 views

Best Practices for Video Uploads to Wordpress

I'm working on a theme and one of the features I'm quite happy with is the slider supports background videos. The problem is however, that Wordpress (although I think it's more a PHP issue) has a ...
-1
votes
1answer
39 views

Add Javascript/Html into a WordPress

I have done this javascript in order to get email opt-in form when the video ends. What I am looking for now is to bring this code to a wordpress which I am not really familiar with the whole WP codex ...
1
vote
2answers
145 views

Wordpress get embedded/attachment video

I’m looking a way to get embedded video in PHP from WordPress post on a single.php page. I’ve implemented a slider that pulls post attachment images and would like to do the same for video. As the ...
0
votes
0answers
24 views

Related videos on vimeo bringing to a new post

Hi Im building a website for my friend that houses vimeo videos. I want to create a video post page that has some info and screenshots about the video. Also with a 'related videos' section at the ...
0
votes
1answer
87 views

mp4 video preview

Our webpage is using WordPress 4.2.1 running Virtue - Premium theme. When I insert a video using visual editor, e.g. [video width="1280" height="720" ...
0
votes
0answers
53 views

Get the vimeo video id from iframe

This is my code . When i am try to get the vimeo video id. no result will be produced $iframe_string ='**Vimeo iframe video code**'; preg_match_all('http://(player\.)?vimeo\.com(/video)?/(\d+)', ...
1
vote
2answers
5k views

How to import my YouTube channel into WordPress?

I want to know how to import my YouTube channel into my WordPress website? Example: I have a YouTube channel with 7 videos. I want to bring all the videos into my WordPress website's sidebar. If ...
1
vote
1answer
1k 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; ...
1
vote
1answer
148 views

Displaying all Video Post Formats to Page

I am creating a video-archive page for all the posts_format with video. Currently, I have: <?php $format = has_post_format('video', $post_id); ?> <?php if($layout != "fullwidth") { ...
0
votes
2answers
1k views

Get first video from the post (both embed and video shortcodes)

The goal is to grab the first video (embed or shortcode) from the post. So we need to check post content if it has embedded videos ( supported by WP ) or [video] shortcodes. Multiple videos and embeds ...
0
votes
0answers
23 views

Why doesn't Wordpress make thumbnails for videos?

I noticed videos in the media gallery always show as an icon preview (unlike files in a file manager, which show a thumbnail.) Considering that WP integrates Imagemagick, which apparently can extract ...
0
votes
0answers
44 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
1answer
248 views

oEmbed vimeo with add_query_arg parameters not inserted to HTML

I'm trying to add some parameters to oEmbeded Vimeo videos on my homepage template. I used the solution (with add_query_arg) that @splashingpixels suggested here: Add parameters vimeo videos using ...
0
votes
0answers
270 views

FitVid not working for iframes on particular theme install

I am using FitVid in my theme and all is well except for a specific site that was migrated from Drupal. FitVid works fine with objects and embeds but not iframes, and only on this particular site. The ...
0
votes
1answer
141 views

Looking to Customize YouTube Video Embeds

I am looking to embed youtube videos into my posts and publish them as custom post types (videos). I would like to be able to append the options for getting rid of the information bar, starting the ...
0
votes
0answers
154 views

full screen image/video on front page, then scroll down for menu and site content

I am having trouble locating a plugin or finding out how to create only for the home page, a feature that will have a full screen image or autoplaying video, but when the user scrolls down the rest of ...
0
votes
1answer
64 views

You tube videos Appear Different Dimension

I have created custom Post type called "Videos", For Post the YouTube Videos, i have Paste the URL of You tube videos in the WordPress Editor For Ex:"https://www.youtube.com/watch?v=COviggz8j50" ...
0
votes
1answer
20 views

Video Shortcode Only Returning a Link

I am trying to dynamically load a video in the media library using the built in MediaElement player. To do this, I am using the do_shortcode() function to run the [video] shortcode and build up the ...
0
votes
0answers
104 views

WordPress default video playlist height issues on Chrome

recently I tried to use the default WordPress video playlist but it seems to have some issues with Chrome and IE. This is how a video shows up on Google Chrome and IE (I have tested with many ...
0
votes
1answer
82 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
0answers
185 views

Video Embed & Thumbnail Generator on Homepage

I am working on WordPress at the moment and found the 'Video Embed & Thumbnail Generator' plugin which is really useful. The only problem is that the plugin adds its script and styling to posts ...
0
votes
1answer
789 views

How do I control video media display sizing with native wordpress player

I was hoping to use the native wordpress video player, but I'd like to 'expand' the video size on the page. Is that possible? I can't seem to make this work. Actual MP4 video size = 640 x 360 ...
0
votes
0answers
66 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 ...
12
votes
2answers
2k views

Generating Thumbnails for video

I have checked and read lot of post about one single issue that is far more complicated than it seems. I have a website that uses a lot of videos taken from wwebsite as on the internet ^^ (services ...
-2
votes
1answer
392 views

How can I directly upload smartphone videos to blog and comments?

I am using MAMP and WordPress to locally host and test my video website on my Macbook Air (using the templatic "video" theme). I am trying to find the simplest way to easily upload and embed videos ...
0
votes
1answer
241 views

get video from content

I have a post with YouTube video in it. The content is inside $content. Currently I am doing the_content() and this displays full content on my page. The page contains the list of all videos. The ...
1
vote
3answers
4k views

Protecting HTML5 video [closed]

I shall explain my situation as best I can so you can see where i'm coming from. I'm working on a wordpress site for a sports team, there are loads of teams. We want to put coaching sessions on our ...
0
votes
0answers
39 views

Page will only display first 6 videos

I'm creating a page in WordPress using a custom theme. I have a page that I need to put 8 (maybe more) videos on. With 6 video players on the page it loads in less than a second, but as soon as I put ...
1
vote
2answers
358 views

Extract an embedded video from the content

I have added a post with the post format of video and I am trying to get to video so I can display the video in one div and the text in another like <div>the embedded video</div> ...
0
votes
2answers
106 views

Media (images, videos, etc.) not showing on Category page

I'm having a problem where media isn't showing up on the Category page. (It's actually the exact same problem that's described in this WordPress.org forum post, but it's so out of date that the ...
1
vote
0answers
144 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 = ...
2
votes
4answers
559 views

getting video dimensions

when attaching videos (eg. .flv) to a post - is it possible to query its dimensions? the problem is - i've got videos in 4:3 and 16:9 format and i need to get this information. any ideas? thanks
0
votes
2answers
128 views

Pull Youtube Link from 2nd WP_Editor

I have 2 WP_Editors, 1 is the main editor I use for content and the 2nd is an editor I use for the user to insert videos and any extra content describing the video. My question is, is there an easy ...
1
vote
2answers
2k 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
2answers
456 views

filter get_children to return all mime types EXCEPT 'x'

Like it says on the tin - Im trying to create a list of post attachments that includes everything except say audio, which I'll feed into a player instead. The filter needs to be generic: 'audio' ...
0
votes
1answer
69 views

Using _e() on text inside video tags prints that text, instead of only showing when html5 <video> element is not supported

I'm creating a wordpress theme in which I'm creating a shortcode for a video. Part of the output of this shortcode is something like this: $result .= '<video class="fullWidth" width="auto" ...
0
votes
2answers
383 views

Video shortcode - autoplay all videos

How can I autoplay all videos added by video shortcode? I can make only one of them autoplay if only one has autoplay attribute set to 1, and others to 0, otherwise all are stopped.
1
vote
1answer
299 views

How to overwrite youtube embed?

I really like how you can just paste a URL right into the post... such as: http://youtube.com/watch?v=xyz or http://vimeo.com/123456 What I want to do is change the default code for this to support ...