Jump to content

Archived

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

jmad

Trying to understand video in DMS2

Recommended Posts

jmad

Really like the canvas option for a video background! Trying to make sure I understand how it works.

 

When I worked with it a few days ago the video wouldn't play on mobile nor did the background image display.  Today it seems that the video won't work on mobile but the background image is standing in.  I assume this is how it should be working?  

 

Is there a way to get the video to play on mobile?  Does it have todo with the size of the file?  

 

You indicate that 

 

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

 

I've tried a couple approaches but what tool do you suggest to convert and compress the files?

Share this post


Link to post
Share on other sites
batman

Hi jmad

 

I did this for example in the RevSlider

1. I uploaded a image in the "Slide Background Image" see the image (this is REQUIRED and you can see it on mobile not the video)

http://screencast.com/t/nvGE8FiJCziH

 

2. I uploaded the mp4 and the ogv

http://screencast.com/t/nvGE8FiJCziH

 

You can read

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

 

 

The Firefox need the ogv file

 

You have this to convert mp4 to ogv

http://www.bigasoft....-converter.html

I use the trial versión 

 

Regards


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
jmad

batman

 

Thanks for the information however I'm talking about just a Canvas section and not a RevSlider (I have that sorted already).  

 

I'm wondering if there is a file size that video would play on mobile. I'm thinking that for this type of thing video just isn't an option on mobile.  

 

Also, I use a Mac so the file converter you recommended doesn't work for me (I'll keep exploring my options). \

 

I'm able to get it all to work it's just not a very efficient process and was looking for options.

 

Thanks again

Share this post


Link to post
Share on other sites
greenfly

Will check on the possibility / file sizes of video for mobile but might not be an option due to file size. 

 

As for converting video on a mac - Handbrake is a great option and open source http://handbrake.fr/downloads.php


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jmad

@Martin_Davies  of course Handbrake would work!  Don't know why I didn't think of using it since I use it for other things.  I was so wrapped up in an Adobe tool that had me too irritated to think I suppose.

 

Thanks.

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      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+
      Hello,
      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:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      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? 

×