How to Insert Self-Hosted Video in WordPress Post

HTML 5 <video width=”640″ height=”360″ src=”https://wordpress.stackexchange.com/wp-content/uploads/2012/04/my_video.mp4″ autobuffer> <div class=”fallback”> <p>You must have an HTML5 capable browser.</p> </div> </video> For Flash Check out JW Player

Force resize for all video content

Without knowing more information – you can use CSS to set a max width to any element. iframe, object, embed { max-width:100%; } Rachel Baker mentioned Fitvids.JS in her WordCamp Chicago presentation last weekend. It is a Javascript plugin that writes specific code for the various video providers online. Try the CSS solution and fall … Read more

Make videos output as iframes not links

Copy paste from my answer here but with iframe/video mime type added: Alter image output in content function WPSE_80145_Mime($html, $id) { //fetching attachment by post $id $attachment = get_post($id); $mime_type = $attachment->post_mime_type; //get an valid array of video types, add any extra ones you need $image_exts = array( ‘video/mpeg’, ‘video/mp4’, ‘video/quicktime’ ); //checking the above … Read more