If you want it to be site wide, go into the Divi > Theme Options > Integrations and add the following code to the head area of your site. <script> jQuery(document).ready(function() { jQuery(‘.et_cstm_video video').attr(‘controlsList',...
I needed a way to on clicking of an A tag scroll to top of a list that was getting updated. So here is the code that I came across. <script> jQuery(document).ready(function() { jQuery(‘a.link-designation').on(“click”, function () {...
So I ran into a rather interesting need of a client. They wanted to have a link to a downloadable file but also have a redirect to a thank you page. I found that I could add some data to the link that allowed me to write some jQuery and allow the link and thank you...
So there are times where you want to try to protect the video on a page. Here is the jQuery that you should use. <script> jQuery(document).ready(function() { if (jQuery(‘.et_pb_video_box').length !== 0) {...