Sarah Moyer

WordPress Development for Web Agencies

  • Home
  • Work with Me
    • for Agencies
    • for Designers
    • for Business Owners
    • FAQs
    • Website Care
  • Portfolio
  • Blog
  • Contact

How to remove YouTube Related Videos and YT branding

Last updated on April 30, 2019 · Posted in How To · video

<!-- No Related Youtube videos -->
<script>
jQuery(document).ready(function($){
setTimeout(function(){
$('.fluid-width-video-wrapper iframe').each(function(){
var videoURL = $(this).prop('src');
videoURL = videoURL + "&rel=0&modestbranding=1";
$(this).prop('src','');
$(this).prop('src',videoURL);
});
}, 1000);
});
</script>
<!-- End No Related Youtube videos -->

See also https://divi.tutsdirectory.com/listing/how-to-remove-youtube-related-videos-in-divi/

 

Was this post helpful?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Anti-Spam by WP-SpamShield

Recommended Resources

Copyright © 2021 by Sarah Moyer · Privacy Policy