Jump to content


This topic is now archived and is closed to further replies.


html5 video size and compression advice required.

Recommended Posts


Hello DMS2'ers, hope you are well.


I have done a search on the forums but cannot find a quick guide to the best practise approach to html5 video as a background.


Can you use it as a fullscreen background ("set to height of window") and if so, what size must the video be to start off with?

The biggest question i have is the compression and size - would really appreciate it if someone who has done these can give me a bit of info.


I see this under more info on the DMS page editor so that is a starting point and i assume that the file must be an mpg and an ogv?

So you put one in the video format 1 and the other in video format 2.

Different browsers have different ways of handling html5 videos.
At the time of testing the best way to get cross browser support is to use an mp4 AND an ogv file.
mp4 = MPEG 4 files with H264 video codec and AAC audio
ogv = Ogg files with Theora video codec and Vorbis audio




Thanks, have a great day!




Share this post

Link to post
Share on other sites



Not really a video expert, but far as I know in terms of compression, you will want to use the Handbrake app - http://handbrake.fr/

In terms of file size, this is just something you're going to have to play around with as you don't want something that is huge due to load times. The following links should help you.




Please search our forums, before posting!

Share this post

Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please?