ImagePress – How to add videos

👋 Ciprian on Friday, April 13, 2018 in Blog, ImagePress
Last modified on Wednesday, April 11, 2018

Learn JavaScript by example. Code snippets, how-to's and tutorials. Try now!

This is a new feature in ImagePress 7.7.4.

If you use secondary uploads, you can now upload videos (most likely MP4s). They will appear automatically, within the post content.

One small gotcha regarding MIME types: your server needs to be configured to recognize the various types. For Windows Server, that means adding entries for the various MIME types to IIS. For Apache servers, you’ll need to add the AddType directive to your httpd.conf or local .htaccess files:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Add more video types above, according to your requirements.

Note that this feature uses the HTML5 <video> element. Check out the browser compatibility table.

👋 Added by Ciprian on Friday, April 13, 2018 in Blog, ImagePress. Last modified on Wednesday, April 11, 2018.

Leave a Reply

You have to agree to the comment policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Privacy Policy