How To Apply Youtube Video Parameters To The Divi Video Module - kary4/divituts GitHub Wiki
Please add the following script to the wp-admin>divi>theme options>Integration>Add code to the < head > of your blog option:
<script>
( function( $ ) {
$( document ).ready( function() {
$( '.fluid-width-video-wrapper' ).each( function() {
var $iframe = $( this ).find( 'iframe' ),
$src = $iframe.attr( 'src' ),
$autoplay = $src + '&autoplay=1';
$iframe.attr( 'src', $autoplay );
} );
} );
} )( jQuery );
</script>
In the code above the parameter value is &autoplay=1. You can add more parameters to the string. Check all the available options here:
https://developers.google.com/youtube/player_parameters
Let me know the result.