Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove YouTube controls from video.
<?php
add_filter( 'tgmsp_youtube_query_args', 'tgm_soliloquy_remove_youtube_controls' );
function tgm_soliloquy_remove_youtube_controls( $query_args ) {
$query_args['controls'] = '0';
return $query_args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.