
-
AuthorPosts
-
May 18, 2015 at 6:45 pm #445949
Hi folks!
I’m using enfold photography theme for my website. I have a video on my homepage which clearly displays on desktop/laptop but does not show when website open in mobile phone. Can somebody help! Thanks…Sid
May 20, 2015 at 7:10 am #446941Hey siddhaonline!
Thank you for using Enfold.
Video background or slider is disabled on mobile devices by default for various reasons (compatiblity, performance, bandwidth etc.). You need to add a fall back custom background image in the slider.
Cheers!
IsmaelMay 23, 2015 at 9:42 am #449011Hi Ismael
Thanks for your reply. Can the video be enabled in Mobile phone viewers also? If not, then is there an alternative or any way around to that our video is visible on phone as well. My main reason to change our old theme was to have our video on home page. Since, more than half the audience now a days use mobile phones to visit websites, so it fails our purpose if they cannot view the video. Please help!
Thanks
SidMay 24, 2015 at 4:01 am #449166Hey!
You can add another video element with the same video url on top of the slider. We can force this video to only display on mobile devices. Use css media queries to hide or show an element. Please refer to these links for more info.
http://stackoverflow.com/questions/11796297/div-show-hide-media-query
https://kriesi.at/support/topic/how-to-hide-some-elements-in-mobile-version/#post-362263
https://kriesi.at/support/topic/is-there-an-option-to-create-a-separate-page-design-specific-to-mobile-devices/
https://kriesi.at/support/topic/displaying-another-slider-on-mobile-devices/
https://kriesi.at/support/topic/replace-slider-on-mobile/Turn on the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Regards,
IsmaelMay 25, 2015 at 5:51 pm #449639Hi! Thanks for the solution but honestly I find it hard to understand the technical web development stuff. Can I ask you to do this small task for me. I can provide the login details to our website and pay for the service. Thanks
Regards
SidMay 26, 2015 at 5:00 am #449787Hey!
Yeah, sure. Please post the login details here. We’ll create an example in a test page. What you need to do first is to enable the custom css class: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
1.) Edit the current slider, look for the Custom CSS Class field at the very bottom of the slider options panel. Add a custom css class attribute, call it “hide-mobile” for example.
2.) Add another video element above or below the slider then add the url of the video, same video url in the slider, configure the options etc. Again, look for the custom css class attribute, this time use “hide-desktop”.
3.) Save the page then go to the Quick CSS field. Use this:
@media only screen and (max-width: 989px) { .hide-mobile { display: none; }} @media only screen and (min-width: 990px) { .hide-desktop { display: none; }}
You should have an automatic video slider on desktop view and a video element that users can watch on mobile.
Regards,
IsmaelMay 26, 2015 at 9:15 am #449901This reply has been marked as private.May 27, 2015 at 5:53 am #450421Hi!
Please remove browser cache then reload the page: http://smritiyoga.com/
http://smritiyoga.com/wp-admin/post.php?post=1691&action=edit&message=1
Best regards,
IsmaelMay 27, 2015 at 10:35 am #450496This reply has been marked as private.May 27, 2015 at 5:08 pm #450688Hey Sid
Please try using this plugin – https://wordpress.org/plugins/hide-youtube-related-videos/
We do not charge for the support we provide :)Cheers!
YigitMay 28, 2015 at 1:43 pm #451169This reply has been marked as private. -
AuthorPosts
- The topic ‘Home page video on mobile phone’ is closed to new replies.