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
2 years
2020-12-26T09:10:24-05:00
2020-12-26T09:10:24-05:00 0 Answers
5 views
0
Leave an answer