How to Autoplay Videos in Divi (YouTube Videos and Uploaded Videos)

  Рет қаралды 3,653

Divi Banks

Divi Banks

Күн бұрын

Пікірлер: 18
@divisites9507
@divisites9507 2 жыл бұрын
Very easy to follow tutorial. Really helped.
@divibanks
@divibanks 2 жыл бұрын
That's amazing. We're glad it helped
@apastorin
@apastorin Ай бұрын
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!
@poultryfacts2838
@poultryfacts2838 2 жыл бұрын
Thanks for the tutorial. Works perfectly.
@divibanks
@divibanks 2 жыл бұрын
perfect
@OliverFlossdorf
@OliverFlossdorf 7 ай бұрын
Thank you man!!Well done
@divibanks
@divibanks 7 ай бұрын
I appreciate it. You are so welcome.
@nounix
@nounix 2 ай бұрын
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!!
@divibanks
@divibanks 2 ай бұрын
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
@TheocharisKatranis1 Жыл бұрын
I copied the code but I have NO sound. Please advice. Thank you
@divibanks
@divibanks Жыл бұрын
Sorry about that. May I see the code, how you pasted it into your cide module.
@TheocharisKatranis1
@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
@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.
@nounix
@nounix 4 ай бұрын
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!! ❤❤❤
@divibanks
@divibanks 4 ай бұрын
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.
@nounix
@nounix 4 ай бұрын
@@divibanks OH THAT WOULDD BE AMAZING!
@zechariahreader1560
@zechariahreader1560 Жыл бұрын
Good day, i can't seem to get this to work on mobile view
@divibanks
@divibanks Жыл бұрын
Hello, could you please share with me your website link via email at info@divibanks.com so I can take a look.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Why Beautiful Websites Don’t Convert
12:57
Malewicz
Рет қаралды 257 М.
Divi Theme Full Width Automatic Slider With Video Background
14:50
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 584
21 Youtube Settings That F*ck Small Channels
17:35
Marcus Jones
Рет қаралды 4,1 МЛН
Divi Pro Tips: The Ultimate Full Screen Slider with YouTube Video Background!
12:57
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 2,4 М.
Divi Unleashed: Autoplay, Loop, Mute MP4 Videos - Quick & Easy!
7:24
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 1 М.
How To Place A Button And/Or Text Over An Image In Divi
12:59
Pee-Aye Creative
Рет қаралды 17 М.
Create A Footer Using The Divi Theme
31:33
Ferdy․com | Ferdy Korpershoek
Рет қаралды 10 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН