Hide video & make a clickable play button icon on header

You can do by that way. <div id=”thevideo” style=”display:none; padding: 0px;”> <center> <video onclick=”this.play();” preload=”auto” width=”600″ height=”370″> <source src=”http://edigi.co/Impatto_Branding_Agency-Large.mp4″ type=”video/mp4″/> </video> </center> </div> <script> $(document).ready(function() { $(‘.custom-th’).click(function() { $(‘.custom-th’).fadeOut(‘fast’, function() { $(“#thevideo”).css(“display”,”block”); $(“video”).click(); }); }); }); </script>

Cant play videos

If you movies are stored in /wp-content/movies/ and the URLs are site.com/movies/movietitle.mp4 then the links are pointing to the wrong place. Change the URL’s to include the wp-content path eg site.com/wp-content/movies/movietitle.mp4 Separate to your question, you could look at having your page-movies.php template load the links into a video element using javascript.

Problem with video url from ad manager

WordPress supports the following video file types: .mp4, .m4v (MPEG-4), .mov (QuickTime), .wmv (Windows Media Video), .avi, .mpg, .ogv (Ogg), .3gp (3GPP), and .3g2 (3GPP2) From the “Uploading Files” Codex. If it’s not in the list, you’ll have to either add support or find a way to insert it manually which is what it sounds … Read more

How do I add “live thumbnails” or slideshow like thumbnails?

I know what tack I would take. I would clip for a specific amount of time and scale it to the size of my desired thumbnail. The video can be auto clipped or they can be clipped manually to ensure the most interesting pieces are captured. HTML <div class=”video”> <video class=”thevideo” loop preload=”none”> <source src=”https://wordpress.stackexchange.com/questions/353023/PATH/TO/FILE.mp4″ … Read more

Uploaded video store in video folder

I assume “images” folder is wp-content/uploads. It is possible to store videos in seperate folder. You can use “upload_dir” filter like in example code below. add_filter( ‘upload_dir’, ‘some_prefix_upload_dir’, 10, 1 ); function some_prefix_upload_dir( $uploads ) { if ( isset( $_FILES[‘async-upload’][‘type’] ) ) { // not sure if every video format have “video” keyword in its … Read more