<?php $trimmed = wp_trim_words( get_the_content(), 55, "" ); ?> <?php echo $trimmed; ?>
<?php $trimmed = wp_trim_words( the_content(), 55, "" ); ?> <?php echo $trimmed; ?>
the second option with
the_content does not work as expected.
Some posts have a video in the content and when the formatting is stripped the embed code shows.
EDIT: I'll try to be more clear, the author has written posts with images, links to external images, videos, text, formatted wysiwyg text, etc. all in the main content field of a normal post. So all those things I just mentioned exist in the_content.
What the author has NOT done is used the excerpt field, or the tag and created really long posts. So I'm trying to create a page of those posts that are trimmed.