When you use Mediaplayer as a module, you can remove embed function as described above.
When you use Mediaplayer as a plugin within the editor, change
s1.addParam("allowscriptaccess","always");
to
s1.addParam("allowscriptaccess","never");
in the file /plugins/content/mediaplayer.php