audio
🎤
This article is a stub. You can help the IndieWeb wiki by expanding it.
audio is a sound recording indieweb post that is spoken or otherwise created by the author of a site.
Contents |
Why
Audio posts, especially spoken word like podcasts, can be very personal and emotionally compelling. In many ways a high quality audio post has a very different impact on the listener than the equivalent as a text note.
How
Use an h-entry as always, and then an HTML5 <audio> element with class name u-audio and src attribute of the URL of the audio file, e.g.
<audio class="u-audio" src="http://ben.example.com/talking.wav" controls="controls"> alternate text content - like a transcript </audio>
An album cover could be marked up as featured.
IndieWeb Examples
Ben Werdmuller
Ben Werdmüller uses Known to post audio to his site werd.io since 2014-06-27. Example:
Ben Roberts
Ben Roberts posts audio to his site ben.thatmustbe.me since 2015-01-09. Example:
Silo Examples
Soundcloud is a silo for audio posts; as well as the audio file, it also expects a poster image to go with it, both for on-site presentation and for creating previews on other silos like facebook. For example this mix has an image that is exported in facebook, twitter, oembed and schema markup to cat as a preview.