Got embedding of pdf in a plugin figured out.