play audio attachments #225
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
added feature to render and play audio/* mime type mms attachments
satisfies main request in #159
works for both received and sent audio attachments - even though you can't send them.... yet
for a plain audio attachment file a small player will be shown with play/pause toggle button and a draggable seek bar (and a sound wave graphic thingy so that it's easy to spot that its an audio file). if the file has embedded title meta-data (ie title id3 tag) it will also be shown;
if the title is too long to fit in it's box it will marquee while the file is being played.
if the audio attachment file has an embedded image (ie id3 cover art in an mp3) the image will also be displayed and the player goes square to contain the album art;
