Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [videos]

The tag has no usage guidance.

0
votes
0answers
9 views

Videos Post Type with Custom Filters

Basically, I am trying to achieve exactly same as in this link: https://www.fitnessblender.com/videos In my WordPress site, the first thing I did was creating a post type 'videos'. I am not sure ...
0
votes
1answer
16 views

Adding video to a Wordpress website

I have just configured a new Wordpress install, and everything is working correctly. The only difference between this site and the other Wordpress sites that I run is this one is going to be heavily ...
0
votes
0answers
17 views

Change loading order of blocks

I have a block with a video in WordPress, and the images below it are out of order until the video finishes loading. How do I change the loading order so that the images finish loading before the ...
0
votes
1answer
17 views

Problem with video url from ad manager

I have a problem and I don't know what to do.. I am trying to insert VAST video (with URL) from Ad Manager in a wordpress site. I tried with iframe, with video tag element, with script as “src=” but ...
0
votes
2answers
22 views

Facebook videos don't show on the classic editor

I was used to copy-paste the link of a Facebook video on the classic editor and automatically, WordPress converted it in the actual video without pasting the embedded code. Now, out of nowhere, if I ...
0
votes
1answer
22 views

How to (correctly) embed a Facebook video?

I'm trying to embed a Facebook video in my site using the snippets generated by the Facebook Embedded videos page. Having done so, I add this function to a custom, site specific plugin so as to load ...
-1
votes
1answer
15 views

Remove lines in video

I am developing a demo website for a client, how do I remove the lines in the videos on this site? ink to website www.afritechmedia.com/demo
0
votes
0answers
8 views

How do I get a WEBVTT file to work with the video shortcode?

I'm trying to get a WEBVTT file to work with the Video shortcode, but I can't find any info on how to do it. Accessibility is so important, I'm sure this must exist right, there must be some easy way ...
1
vote
1answer
31 views

How to auto embedded youtube with wp_insert_post()

I use this code to add a post to Wordpress: $new_post = array( 'post_title' => $title, 'post_content' => "test https://www.youtube.com/watch?v=4g3e8XwVIYc https://youtu.be/...
0
votes
1answer
16 views

Facebook video on a post appears in a strange language [closed]

I don't know why it happens but, when I copy and paste a Facebook video URL inside my blog post, the language switch into Hindi or Indonesian (I don't really know) https://prnt.sc/mlu83q https://prnt....
0
votes
0answers
79 views

Restrict Access to media files

I'm making a video streaming website for paid members like Netflix. I uploaded files http:// .. wp-content/uploads/_pda/videos/sample.mp4 I want to hide or redirect if users try to access this url/...
0
votes
0answers
14 views

Plugin to play music and video by click on thumbnail

Is there any way to do something like this this I use the blow code but it does not work on my theme(jannah) /*-----------------------------------------------------------------------------------*/ # ...
0
votes
1answer
20 views

Cant play videos

I have a movies folder called movies located in site root/wp-content/movies/. I also have a template creates in my theme called page-movies.php. And a wordpress page called movies using the page-...
0
votes
0answers
14 views

Developing Widgets For video

i'm looking for developing widget for my wordpress theme to show video post in the sidebar with video image thumbnail the category,type,video number, the widget_id, i read the documentation in codex ...
0
votes
1answer
69 views

Fullscreen Video/GIF Intro

How would one go about placing a 3 second Fullscreen Video/GIF Intro upon website start up as a preloader. I've tried coding it in but there's always something conflicting and limits the ...
1
vote
1answer
34 views

Why is my oembed function modifying Twitter embed?

Building a theme with Boostrap 4 and WordPress 5.0.1. Under Bootstrap's documentation for embed video the following format is required for responsive videos: <div class="embed-responsive embed-...
0
votes
1answer
32 views

Video Short Code and Media Fragments URI

It looks like Wordpress video short code does not support media fragments URI (.e.g. appending #t=10 for the video src for example), so something like this wont work: [video width="854" height="480" ...
0
votes
1answer
34 views

Remove Custom Divs from AMP pages

I am using Automattic's plugin to implement AMP on my website. Currently, to make my videos responsive, I wrap YouTube videos around a custom div. So, a YouTube video on my website looks like this:- &...
0
votes
2answers
35 views

Transform .wp-video to the native video player of the browser

Is there a way to display a video using only the default video player of the browser, without the mejs / wp-video interface? The additional markup gives me a lot of trouble. I just want to use the <...
0
votes
0answers
17 views

Detecting if a Youtube video has been watched and change something on a page in reaction to it

Every of my Youtube videos has a dedicated Wordpress page. I want to detect if a video has been watched (say for example for 80%) and in reaction to it, I want to change something on it's page (I want ...
0
votes
0answers
49 views

Set featured image from video

I'm working on a Wordpress website and I have created a category for videos. I created an article with video as the format, and I inserted a youtube video in the content. When I view the article, ...
0
votes
0answers
18 views

get video poster image by video id

Using wp_query i got list of videos. All videos have their own poster images. How to get them? To make sure video exists i tried function wp_get_attachment_url and i got video url and its correct. ...
1
vote
0answers
36 views

Add cron schedule to upload video on save_post

I made a custom plugin to get post data from another source, when I save a post, I get all data. and also upload a video from source server to our server. But it take a while when saving post until ...
0
votes
0answers
23 views

Storing video thumbnails

I need help. When I add new post with video I want to download the thumbnail of the video to wp-content/upload. I tried using wp_handle_upload() function but i am not sure if it is correct and i am ...
0
votes
0answers
381 views

oEmbed not working in WordPress

I am using custom embed URL for embedding a video. Embedding Youtube and Vimeo working really fine. But only this URL is not working. But if I add via iframeit is working. But I need to add this via ...
1
vote
0answers
31 views

Custom Post Type Video - Online/Offline

I have created a custom post type which will store posts that contain videos, i have made use of the ACF wysiwyg field to display the video content and i have a further true/false field which will ...
0
votes
0answers
30 views

How can i auto generate thumbnail Image for Video in WordPress

I want to auto generate thumb of the video which is in media of WordPress. What I want is when I press publish button then it is set as a featured image of the post. Any idea how can I to do this?
0
votes
0answers
9 views

Video not referencing MediaElement from shortcode lightbox

I'm using a lightbox from a shortcode to embed video. For some reason when I do this the video loads without mediaelement for the player. Here's the code controlling the shortcode" // Shortcode ...
0
votes
0answers
15 views

Allow users to post their videos to my wordpress website?

I want to allow users to post their suggested videos on my website through url and file upload options. i went through the user submitted forms plugin but in that there is only option for image upload ...
0
votes
0answers
1k views

Slider Revolution video on autoplay doesn't start

In my wordpress website I use slider revolution to make slider, on one of my sliders I have a video in autoplay. With a update of chrone this autoplay doesn't work and to make it work again I put the ...
0
votes
0answers
12 views

Help: Custom User playlist from favorited posts

My client creates educational video posts. I'm trying to combine a WP Favorites plugin (this one) and a CPT (ToolsetTypes) so users have access to a Favorites page of just the videos without their ...
0
votes
0answers
20 views

uTubeVideo Gallery: How to add videos to video album

Probably really a dumb question. But I am not getting the installation instructions for the uTubeVideo-Gallery. How do I 4. Create video albums for gallery just created. 5. Add videos to video album ...
1
vote
2answers
108 views

How to check If Oembed is empty or not

We often use the Oembed function provided by the Wordpress to embed media. I have a condition where I am running a loop to fetch certain posts from a custom post type, but I want to skip posts in ...
2
votes
1answer
136 views

how to use preg_replace for wordpress video?

I am trying to format VIDEO of my wordpress blog for my amp pages. The code I am using in content editor is: [video width="768" height="576" mp4="https://mywebsite.com/wp-content/uploads/20**/0*/...
-3
votes
1answer
36 views

Strange video appears in background on Safari only [closed]

I hope someone can help me. My site popplekharlamova.com has this issue in Safari. Not in Chrome or elsewhere, it's taking an age to load and I deleted the video media file ages ago but it's still ...
0
votes
1answer
159 views

Can't get video meta from wp_read_video_metadata()

This is what I'm doing: $video_url = get_field('video_file', $post->ID); $uploads = wp_upload_dir(); $uploads_dir = ( $uploads['basedir'] . $uploads['subdir'] ); $file = $uploads_dir .'/'. ...
2
votes
0answers
42 views

WP REST- video and audio players

Im build VUE JS based theme, and Im using WP REST v2. And there is a problem, I can't make video and audio playlist working (build-in WP feature). I already added: wp_enqueue_style( 'wp-mediaelement' ...
1
vote
0answers
14 views

How to use format post in a pertinent way

I need to create a video post for my theme. I want to use post format via: add_theme_support( 'post-formats', array( 'video' ) ); So it is good, in my single.php I will able to get: if ( ...
2
votes
1answer
3k views

Vimeo videos not working

We have two identical sites (one is a staging site) hosted on different servers. Both are running the same WordPress version 4.8.5. On one of these sites Vimeo videos are failing to load (previously ...
0
votes
1answer
27 views

Get Video Attachment to post

There is a plugin that let’s me upload a title, description and image with a form. If you send it, it creates and automatic post with the title, description and the image. The code for showing the ...
0
votes
0answers
35 views

Video link not working in Internet Explorer

I uploaded video through media and linked that video in one of our page. The video is working fine on Chrome and Mozilla Firefox broswer but not working on IE. Please advise. Thanks,
1
vote
0answers
68 views

MP4 video on wordpress working on desktop, not on mobile devices

I embedded a video in the following URL: https://www.speurtochten.nl/over-ons/ I made it with Premiere Pro CC, exported it as H.264. The code I use in WordPress: [video src="https://speurtochten.nl/...
2
votes
2answers
306 views

How can I use a video header that's over 8MB?

I'm using a theme that supports WordPress's (relatively new) video header feature. I want to upload a video that's over 8MB big, and I don't want to reduce the size of the video. How can I force it to ...
0
votes
2answers
102 views

Video header on mobile, disappears behind header and content

On https://www.altcinematic.co.uk/video-test/ I have input a video header using advanced custom fields and a new page template. Page template: <?php /* Template Name: Video Banner */ ?> <?...
0
votes
1answer
11 views

Video header works only on previews, but not on published pages

I've made a video header for a customers website, I found out that video is not loading when I am not logged to admin of WordPress, or watching the page from Preview. I already tried another video ...
0
votes
1answer
303 views

What folder to place Large Video files?

I'm using WordPress to upload videos. I have to use WordPress to upload the videos, because they need to remain past a password protected side of the website. I have access to the WordPress content ...
0
votes
1answer
217 views

Hide video & make a clickable play button icon on header

I would like to add a clickable play button icon in my header. When someone clicks the icon the hidden video starts playing. Either by popping up or that I can resize the video to my preferences. ...
0
votes
0answers
32 views

Render Shortcode in Lightbox Gallery

I am trying to have a video gallery, but I use HolaCDN. Their wordpress plugin lets you insert videos using a shortcode, and that shortcode inserts the necessary javascript to render their video ...
1
vote
0answers
66 views

How can I implement shortcode on click event

I am a newbie in WordPress not totally but 6 months. So I am finding the new thing and practicing on WordPress. I want to know that how can I implement shortcode on click event means I have a ...
0
votes
1answer
49 views

Integrate video and iframe in a post type gallery

I'm new to wordpress. I was making a theme with articles in a Gallery like style with swiper And I wanted add video (from vimeo/youtube ...) I've actually copied a php code for a Image only gallery ...