The smart embed allows you to simply embed your Media on your own sites. You can set a couple options and the embed will then embed the Media onto your pages.

<script src="https://{CLIENT_SHORTNAME}.getmediamanager.com/js/mm.embed.v1.min.js"></script>

The above would embed a Media Manager video with a width of 640px and a height of 360px. We also tell it which Media Manager Template to use. You are also required to pass your accounts shortname and finally we need to pass the Video ID.

<script type="text/javascript">
mediamanager.width(640);
mediamanager.height(360);
mediamanager.template("{TEMPLATE_ID}");
mediamanager.client("{CLIENT_SHORT_NAME}");
mediamanager.video("{VIDEO_ID}");
mediamanager.embed();
</script>

TEMPLATES

Because your account can have multiple templates and your videos could be published to many different ones. Then its a good idea to set what template you wish to use as the view for your embed. You don't have to pass a template as it will automatically use a default template (most likely embed template).

mediamanager.template("{TEMPLATE_ID}");


ADVANCED USAGE

For advanced usage please consult our developer documentation at https://developer.getmediamanager.com/embedding/smartembed/#