Media types other than image
Thread the media type through MediaItem
. Dispatch on it to determine how to render the media.
Add a PlayerView
to an_image.xml
for rendering videos. Toggle the_image
and the_video
as appropriate.
Use ExoPlayer to play the video.
Note that the Mastodon API refers to WebMs as "gifv". Gifv is not actually a thing.
Closes #38 (closed)