I'm very glad about my decision to buy this theme. It's all done now, but when I checked how the site is on phone , I was very disappointed. Neither on Iphone. or Android, the webm/mp4 of my videos doesn't show. And it's kinda ugly. What can I do? basically, the theme is not adapted to the phone. neither the blog pages..
It is not recommended, as a general practice, having videos autoplaying on mobile (and taking in consideration different data mobile plans and different networks streaming speeds). You should provide a poster image (hero image) for mobile in video portfolio options.
However, to enable video on mobile try the following:
1. add
@media only screen and (max-width: 1024px){
.hero-video-wrapper {
display: block;
visibility: visible;
}
}
in customizer -> additional CSS
2. open/js.scripts.js and remove the following lines:
var viewportWidth = $(window).width();
if (viewportWidth < 1024) {
$('.hero-video-wrapper').remove();
}
hard refresh the page (Ctrl+F5) when you are done.
Hello!
I'm very glad about my decision to buy this theme. It's all done now, but when I checked how the site is on phone , I was very disappointed. Neither on Iphone. or Android, the webm/mp4 of my videos doesn't show. And it's kinda ugly. What can I do? basically, the theme is not adapted to the phone. neither the blog pages..
Hello Alexandru,
It is not recommended, as a general practice, having videos autoplaying on mobile (and taking in consideration different data mobile plans and different networks streaming speeds). You should provide a poster image (hero image) for mobile in video portfolio options.
However, to enable video on mobile try the following:
1. add
@media only screen and (max-width: 1024px){
.hero-video-wrapper {
display: block;
visibility: visible;
}
}
in customizer -> additional CSS
2. open/js.scripts.js and remove the following lines:
var viewportWidth = $(window).width();
if (viewportWidth < 1024) {
$('.hero-video-wrapper').remove();
}
hard refresh the page (Ctrl+F5) when you are done.
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hello !
Well, if I provide a hero image ( like I did actually ) , on the phone the aspect ratio is not good.
I enabled video like you said, but on Iphone it's still not working. Only on androids. You have any solutions?
Hi,
go to showcase-page.php and change the following line
<video loop muted class="bgvid">
to
<video loop muted playsinline class="bgvid">
same thing for /sections/hero_section_container.php line 51
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy