The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
24 views

video format and plugin for wordpress [on hold]

i want to make a Temporary website on wordpress and i made a 3d animation on 3d max.now,i want when my website'll open first show a loader then the animation begins full screen and its like svg or ...
1
vote
0answers
20 views

How can I remove the first video from a post and feature it?

I am trying to develop a theme in which when you select a 'video' post format, it automatically gets the first video from the post and features it (instead of where the featured image would normally ...
0
votes
0answers
9 views

Save to boolean custom field when video is embedded in post

For my site I want my visitors to be able to tick a checkbox to only include content (posts/pages) with video embeds in a search query. This would be possible if I stored the state (true/false) in a ...
1
vote
1answer
16 views

disable video URL auto-embedding for a part of the post

In a post I want to add a list of URLs as a plain text. However, as some of URLs points to video sites, wordpress tries to embed those as videos. What is the way to disable this automatic embedding ...
1
vote
1answer
32 views

How to generate a featured image from a video embeded in a metabox

I have a metabox that allows me to add videos from Youtube and Vimeo on posts with video post format. I am now looking into automatically generate thumbnails for these post with video post format. ...
1
vote
0answers
24 views

wordpress 4.4 self hosted video (html5) doesn't show

I was developing WP theme on my localhost (version 4.3). The client wanted to be able to add self-hosted videos. So I wrote shortcode and implemented it in Visual Composer. Basically, this shortcode ...
2
votes
1answer
31 views

Add video from youtube in post

I need to add video from youtube in certain place on my page. I added link in post like https://www.youtube.com/watch?v=GXGR7puGRpg (post contains only this link), and then I added code on my page ...
0
votes
0answers
23 views

How can I echo og:video url, if the post has video content?

I would like to something simular solution like is_home() for videos. If the post has video content, the php script write out the og video url (start with https of course). In my example I imagine ...
0
votes
1answer
14 views

Archive - Show Video from First Post

I am relatively new to developing in WordPress. The way my posts are structured is the post title with a video underneath followed by text. The videos supplied by my client are in JavaScript tags. ...
0
votes
2answers
34 views

Overflow Video for No Login Users

Try to figure out a way to pop up a Video for no login users in Home Page via functions. I am using a Genesis theme. Any Suggestions?
0
votes
0answers
43 views

Allow users to embed video URL from internet

I'm admin of my site and want to allow anyone to post a video URL from youtube, vimeo, videogram etc. on my site. When I post myself the video URL on the admin site I simply add the URL there, and the ...
2
votes
1answer
189 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
0answers
50 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
16 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
1answer
39 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() ) { ...
0
votes
1answer
42 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
106 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 ...
-1
votes
1answer
52 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 ...
0
votes
0answers
30 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
127 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
94 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
1answer
378 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
0answers
28 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
56 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 ...
2
votes
2answers
2k 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
1answer
178 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
1answer
86 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
23 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
1answer
110 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
1answer
1k 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
1answer
351 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 ...
2
votes
2answers
131 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 ...
0
votes
0answers
41 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 ...
0
votes
1answer
346 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
2answers
478 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> ...
1
vote
2answers
208 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
2answers
147 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
214 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 = ...
0
votes
3answers
825 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
2answers
171 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 ...
0
votes
0answers
313 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
77 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
501 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.
2
votes
1answer
407 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 ...
0
votes
1answer
35 views

Find Videos Inside a Post

What can be an efficient way to determine videos that may be embedded in a post? If the embed code is directly added to a post, it is easy to determine using regular expressions but some plugins ...
1
vote
1answer
175 views

Videos via the video shortcode are always 640px wide?

I've run into a particular problem with the Video Shorcode of WP. I can't seem to change the size of the player with the attributes of the Shortcode. This happens on multiple sites with multiple ...
0
votes
1answer
645 views

Wordpress 3.6 Video shortcodes in template

I understand the video shortcodes work fine when inserted into a post. Easy. What about when you want to have more control about where the video should be displayed. I would like to use something ...
0
votes
1answer
187 views

Have video content populate page from upload sub-directory?

My question yesterday was too broad on this subject, so I will be specific: I teach music classes and at the end of the class, we record several short (30 second-3 minute) videos for the parts people ...
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
1answer
37 views

Videos in posts are not rendered

I have a wordpress website, but the blog/post side of things wont display videos even when using the insert media/video link. It just shows the code up. What page/file do I need to edit and where to ...