where can i add custom script to stop header video from autoplay

Question

$( document ).ready( function() {
$( document ).on( ‘wp-custom-header-video-loaded’, function() {
$("#wp-custom-header-video").attr(‘autoplay’,false);
});
});

0
hossam alaaeldin elsayed 4 weeks 0 Answers 5 views 0

Leave an answer