Slightly improve the media experience #452

Merged
elegaanz merged 5 commits from better-media into master 2019-03-06 13:11:37 +00:00

5 commits

Author SHA1 Message Date
Baptiste Gelez
f14701bc58 Make it possible to insert video/audio in articles 2019-03-06 12:29:45 +01:00
Baptiste Gelez
d0db521bb6 Add a new constructor to SafeString when the input is trusted and doesn't need to be escaped.
And use it to generate media previews.
2019-03-06 11:02:12 +01:00
Baptiste Gelez
ed3efb7b97 Show fallback images for audio and unknown files, to make them more visible 2019-03-05 12:29:57 +01:00
Baptiste Gelez
6a8b68af05 Allow video and audio tags in SafeString
Otherwise we can't display their preview, nor show them in articles

Also show controls by default for these two elements
2019-03-04 21:31:13 +01:00
Baptiste Gelez
04be57ec92 Slightly improve the media experience
- Use a grid to display the list of media
- Add icons for non-image media preview
- Paginate the gallery
- Add links to the gallery in the editor and in the profile settings to make it more discoverable when you need it

Fixes #432
2019-02-26 21:33:11 +01:00