xmpp.chapril.org-conversejs/src/templates/audio.js
2020-03-06 12:24:23 +01:00

8 lines
188 B
JavaScript

import { html } from "lit-html";
export default (o) => html`
<audio controls src="${o.url}"></audio>
<a target="_blank" rel="noopener" href="${o.url}">${o.label_download}</a>
`;