Set library and swf locations for embed script, refs #261

Note: This needs support from embed.min.js