Created
February 22, 2022 17:53
-
-
Save Pross/a1c7e8270fd909542fb571747e97ca1c to your computer and use it in GitHub Desktop.
Add to layout js for page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$(document).ready(function(){ | |
// remember to replace node id | |
let video = $( '.fl-module-video.fl-node-7nwclb8z526j .fl-video-poster' ); | |
video.attr('data-mfp-src', video.data('mfp-src') + '/?rel=0&' ); | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment