Add embeddable posts
- Based on static-fe and the mastodon embed widget.
- Widget path is
- It doesn't support polls yet.
- There are no icons for replies, announces and likes. I think ideally it should reuse icons from pleroma-fe but not sure how because FE's fontello file has a dynamic part in filename.
- There is no "Follow/Unfollow" button because we can't authenticate a user without oauth (or can we)?
- Closes #1288 (closed)
Example widget HTML code:
<iframe src="http://localhost:4000/embed/9t6VGYb0Ehg14lvGee" class="pleroma-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe> <script src="http://localhost:4000/embed.js" async="async"></script>