This works great, thank you! One thing I can't seem to get working is to auto mute. I've tried adding '&mute=1' to the 'video.attr' section but with no success. If you know how to do this correctly, would you mind sharing please? Thanks again!
@poultryfacts28382 жыл бұрын
Thanks for the tutorial. Works perfectly.
@divibanks2 жыл бұрын
perfect
@OliverFlossdorf7 ай бұрын
Thank you man!!Well done
@divibanks7 ай бұрын
I appreciate it. You are so welcome.
@nounix2 ай бұрын
Hi again I am trying to do something which feels like it should be VERY simple to do and am wasting SO much time trying to do it that it just feels ridiculous. Maybe you can help? All I want is for a one minute video autoplaying on my first hero section of the site in a loop. Done that (added the dm-autoplay-btn class as instructed to in the past) and it autoplays - but muted...... But I want a unmute/mute/sound control button in some corner over the video somewhere so as to prompt visitors to click it and listen to the sound, and so they can control the volume. Can't find how to this anywhere... :( :( *Obv the mp4 is uploaded to my media library (ie. not on KZbin etc). All I want is the video module to autoplay in a loop, and for a volume control. Why is this so difficult to do? I would have thought that this is the most common thing.... Anyway, can you please help asap? Thanks!!
@divibanks2 ай бұрын
The Divi video module has limited options. Something easier would be to upload your video to wistia.com then embed it on your website. You can set up all those controls from within the wistia dashboard. See the video on this page - demos.divibanks.io/divi-bio-link/ Let me know if this helps.
@TheocharisKatranis1 Жыл бұрын
I copied the code but I have NO sound. Please advice. Thank you
@divibanks Жыл бұрын
Sorry about that. May I see the code, how you pasted it into your cide module.
@TheocharisKatranis1 Жыл бұрын
Hello. Thank you for your reply and assistance. Appreciated. This is the code I added. (I do not know about coding) If you can help me to correct the code to have autoplay with sound would be excellent. jQuery(document).ready(function() { if (jQuery('.lwp-video-autoplay .et_pb_video_box').length !== 0) { jQuery('.lwp-video-autoplay .et_pb_video_box').find('video').prop('muted', true); jQuery(".lwp-video-autoplay .et_pb_video_box").find('video').attr('playsInline', ''); jQuery(".lwp-video-autoplay .et_pb_video_box").each(function() { jQuery(this).find('video').get(0).play(); }); jQuery('.lwp-video-autoplay .et_pb_video_box').find('video').removeAttr('controls'); } }); @@divibanks
@divibanks Жыл бұрын
@@TheocharisKatranis1 From the code, I can see that the video is muted. I'm unable to get the video link from the code shared. I have one question. Are you trying to enable autoplay for an uploaded video or a KZbin video? If it is a KZbin video, share with me the video link on KZbin and I'll modify the code for you. Also, you need to note that the video will be muted and the website visitor has to enable the audio in the video window. Autoplay with audio will not work for some browsers. For example, it may not work for Chrome. You can WhatsApp me via +254716277766 for further assistance (TOTALLY FREE, NO CHARGES). I'll help you fix the problem.
@nounix4 ай бұрын
Hi! Do you have a css code that I can add to a video module (not to the entire site) so that: 1) The video starts playing only when the visitor scrolls down the site/page that it's on and reaches the video module (say about 50%) of the video module is on the screen) 2) The video automatically loops forever 3) There are no playback controls for the user (it just does its own "thing" as described) *I am talking about a video uploaded to my wordpress library (not on KZbin, not on Vimeo or anywhere else) **If you have a code that will do everything I need, please paste it here! 🙏🙏 If you already have a tutorial on this, please link it IF it does ALL the things I need (above) and is specifically for Media Library videos! 🙏🙏🙏🙏🙏 THANKS!! ❤❤❤
@divibanks4 ай бұрын
Hi. Unfortunately, I don't have anything that can do all that for now. It's something I would love to try. Perhaps you can check back after a day or two. I believe I'd be having something for you. Regards. Patrick.
@nounix4 ай бұрын
@@divibanks OH THAT WOULDD BE AMAZING!
@zechariahreader1560 Жыл бұрын
Good day, i can't seem to get this to work on mobile view
@divibanks Жыл бұрын
Hello, could you please share with me your website link via email at info@divibanks.com so I can take a look.