You really should consider to upgrade armude (security concerns & stuff), but you are right that it should work with your version of WordPress.
So here we go; open up /wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php and replace
function lyte_trim_excerpt($text) {
global $post;
if ( '' == $text ) {
$text = get_the_content('');
$text = lyte_parse($text, true);
$text = strip_shortcodes( $text );
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$excerpt_length = apply_filters('excerpt_length', 55);
$excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
$text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
}
return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
}
with:
function lyte_trim_excerpt($text) {
global $post;
if ( '' == $text ) {
$text = get_the_content('');
$text = lyte_parse($text, true);
$text = strip_shortcodes( $text );
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$excerpt_length = apply_filters('excerpt_length', 55);
$excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
if (function_exists(wp_trim_words)) {
$text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
} else {
$text = substr( strip_tags(trim(preg_replace('/\s+/', ' ', $text))), 0, $excerpt_length );
}
}
return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
}
I’ll make sure this gets into the next version, to ensure I don’t break ancient versions of WordPress ??