cript> jQuery(document).ready(function($ ) { // add '&rel=0' to end of all YouTube video URL's // to prevent displaying related videos $('.nosuggestion iframe').attr( "src", function( i, val ) { return val + '&rel=0'; }); });