padmaEssay is a set of JS files you can include at the top of your page to convert links to clips in pad.ma into "embeds"
The links need to be in the format of: http://pad.ma/Vdy5qr4j/00:26:31.000-00:28:38.000 <-- link can be got by going to pad.ma (or a padma instance), going to a video, selecting an in and out-point and chosing Link To This Selection from the Actions Menu.
You need to include the following files at the top of your page:
jquery.js
jquery.tooltip.js
jquery.tooltip.css
padma.layers.js
padma.links.js
utils.js
test.js
To tweak some configuration options, look at the top of padma.layers.js
If you want to write your own custom function to handle the embedding, look at test.js, and re-write the setupPadmaLink function.