Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #971594

    Hi, on my webstie http://www.aprenet.es the YouTube video in the background of the color section in home page is not always starting. When I open the page on a new device I see the play button but I cannot click on it, and the video is not running.
    Beside that, if log in on that device then the video starts normally.
    Can you help me?
    Thanks!

    #972070

    Hey Netech,

    It’s playing fine on my end using Chrome, how can we reproduce the problem?

    Best regards,
    Rikard

    #972183

    Hi Rikard,
    yes, you are right: it’s hard to reproduce the problem on the pc. I’ve tested on five pc and only one was not starting the video.
    But then we tried on mobile and results are terrible: only on one mobile on five the video was startig. The opposite then pc!
    So you can see the problem just using your mobile (ios or androind)
    thanks!

    Netech

    #972638

    Hi,

    Thanks for the feedback. Auto play videos are disabled on mobile devices due to manufacturer restrictions, so I’d be curious on which device/browser it actually did auto play on?

    Best regards,
    Rikard

    #972747

    Hi Rikard,
    you were right: in none mobile the autoplay it’s workign, I was remembering wrong.
    But now we have the problem that the video is not playing on mobiles. Is there any way to solve it?
    Maybe I can put an alternative image taht works only on mobile?

    #972783

    look on google search for the playsinline and webkit-playsinline – it seems to be correlating if a background video starts on autostart or not.
    but i think that the input field of enfold video does not accept those parameters. So we had to add this on source code.
    i will have a look if that will help

    See here how it works on advanced layerslider : https://webers-testseite.de/weber/
    playsinline and muted parameters set – but this was a selfhosted video

    and this f.e. will start on modern mobile browsers

    <video playsinline autoplay loop muted preload="metadata" style="min-width:100vw; min-height:56vw;" >
     		<source src="/wp-content/uploads/background.mp4" type="video/mp4">
    		<img src="/wp-content/uploads/film-fallback.jpg" title="Your browser does not support the video tag">
    </video>
    • This reply was modified 6 years, 6 months ago by Guenni007.
    #973118

    Hi Netech,

    Thanks for the feedback. You can set fallback images in the Color Section element in order to show an image instead of a video on mobile devices. You could also try adding a regular video element and select to show it only for mobile devices in the Screen Options tab of the element.

    Best regards,
    Rikard

    #986009

    Hello
    I’ve got a similar problem. Note that I understood I can’t have auto-play video on mobile.
    I just would like to launch it manually.
    But when the youtube video loads, I see the video thumbnail, with the play button. But I cannot click on it !
    Very very frustrating… I don’t want a static image instead, just let the user click on Play to play the video.
    Do you see a solution ?

    Thanks

    #986246

    Hi romano2,

    Could you try to add a regular Video element instead, and select to only show it for mobile in the Screen Options tab please?

    Best regards,
    Rikard

    #986334

    Hello,
    Thank you for the answer.
    I tried with the regular video element, but it does not look good. Everything shifts in my custom layout, and it is the war with the CSS to display it correctly without margin.
    If you haven’t got other solutions, I’m going to stay on a still image, it’s really frustrating…
    But rest assured, enfold is still my favorite theme.

    #986887

    Hi romano2,

    Let’s see if we can adjust the layout with the video element first. Do you still have the video? Can you make a test page?

    Best regards,
    Victoria

    #986963

    Yes, thanks.

    Ok I created a video element in in new section #videomobile
    First on media-query desktop view, I need to do :
    #videomobile {display:none}
    Otherwise the Opening time block no longer sticks to the top block (unwanted white margin).
    And desktop view is like before.
    But on mobile view (media-query <768px), It’s not what I imagined. I use :

    @media screen and (max-width:767px){
    
    	#videomobile .container{
    		margin:0!important;
    		width: 100%!important;
    		max-width: 100%!important;
    	}
    	#videomobile .container .av-content-full {
    		padding-top: 0;
    		padding-bottom: 0;
    	}
    #videomobile .avia-video {
        margin-bottom: 0px;
    }
    }

    Result is acceptable. But video is not under the logo, all the youtubes icons and controls are here, while I wish only the play button. Do you have any idea ?
    Thanks.

    #987785

    Hi romano2,

    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.