Does H5P optimise images & videos at all

Hi all,

Does H5P optimise images & videos?  I am having trouble finding any info in the documentation or the forum.

We are using Wordpress with H5P but notice some long load times.  Is there a way to optimise these via H5P settings or do we need to do it before creating the h5p tasks?