I am working on a internal plugin to preview content from attachments within a post. Could you please help me with the following questions:
<iframe>that is going to be displayed after the attachment link?
- Is there a plugin API to access attachment contents directly instead of accessing through HTTP(s) to bypass the dreaded
XHR not allowederror? Can we access the controller directly to reuse it?