The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
31 views

embed our website videos in another website like youtube [on hold]

I have a wordpress website and i put videos on it. how can i embed my videos like youtube for other websites?! I want to make something like youtube embed system for my website and give the embedded ...
0
votes
0answers
4 views

youtube view count on embedded videos on wordpress? [migrated]

Hoping someone can help us sort out this issue. It's clear that we had about 1000 visits to a post today that contains an embedded youtube video. Visitors spent an average of 3:35 minutes on the page, ...
0
votes
0answers
22 views

How to share a video from wp to Facebook?

I have embedded a YouTube video in a post on my WP site. When I want to share it on Facebook - only the headline shows up in the sharing box. How do I share the video and enable it to be plaid on ...
0
votes
0answers
12 views

Capturing wordpress email for use in wistia turnstile

Can someone help me how i would insert the current logged in users email into wistia video turnstile so that if a viewer is logged in on my site they don't have to enter their details - only ...
0
votes
1answer
17 views

Embed YouTube video pop out instead of just playing in the corner

I have an embedded youtube video in a sidebar widget on my wordpress Here's the the embedded sample of the code: <iframe width="155" height="120" src="https://www.youtube.com/embed/rDYFTJ4cdts" ...
1
vote
2answers
97 views

How can I get the [video] shortcode to allow query string parameters?

Using WordPress 4.4.2 (latest version as of writing this) I'm trying to use the [video] shortcode to show a video on my site. If I provide a url ending with the filename.mp4 it works fine: [video ...
1
vote
1answer
27 views

Video Embed with Captions in Turkish

I normally embed videos by directly writing the URL in the WP built in [embed] code. Like: [embed]https://www.youtube.com/watch?v=p_o4aY7xkXg[/embed] But now I want this video to open automatically ...
0
votes
1answer
25 views

TED talk embedded videos cut off by sidebar

I've published a post on a new WP site which includes two TED talk videos. I used embed codes supported through the Jetpack plugin (e.g. [ted id=2252]). My problem is that the right edge of the videos ...
1
vote
0answers
39 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
41 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
59 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
29 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
36 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 ...
1
vote
0answers
52 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
22 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
40 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
65 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 ...
3
votes
1answer
358 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
65 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
20 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
41 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
61 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
168 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
54 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
1answer
142 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" ...
1
vote
1answer
484 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
29 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 ...
2
votes
2answers
3k 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
205 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
91 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
28 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
134 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
437 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
144 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
408 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
526 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
247 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
183 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
250 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
949 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
185 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
341 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
86 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
584 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
474 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
201 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 ...