Morning Erlend;
If you open up wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php and at the very end replace
/** hooking it all up to wordpress */
if ( is_admin() ) {
require_once(dirname(__FILE__).'/options.php');
} else {
add_filter('the_content', 'lyte_parse', 4);
add_shortcode("lyte", "shortcode_lyte");
remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'lyte_trim_excerpt');
}
with
/** hooking it all up to wordpress */
if ( is_admin() ) {
require_once(dirname(__FILE__).'/options.php');
} else {
add_filter('the_content', 'lyte_parse', 4);
add_shortcode("lyte", "shortcode_lyte");
remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'lyte_trim_excerpt');
add_filter('widget_text', 'lyte_parse', 4);
}
text widgets will be parsed by wp youtube lyte as well. Do take into account that YouTube requires a minimum player size of 200X200, so if the widget auto-scales to a value below that, the video will probably not play (but that’s the same when using normal YouTube embeds).