@ronafios edit the file MMM-EmbedYoutube.js, add routine for

suspend: function(){ // add specifics here }, resume: function(){ // add specifics here }

I don’t know how the module works… so, you will have to learn that to update…

if u fork the original repo, then clone that, you will be able to push your changes back to github and submit a pull request back to the MMM-EmbedYoutube author to enable this capability for others