Somewhat extra about including audio
Last week I blogged about including audio narration to weblog posts. For years we’ve additionally had full podcast internet hosting, which overlaps with this narration characteristic however is concentrated on podcast episodes and feeds. In this submit I’ll present find out how to add narration to an current weblog submit, hopefully within the course of revealing extra about how this works in Micro.weblog.
First, report your self studying the weblog submit. There are a dozen methods to do that. Make positive to avoid wasting the file as an MP3.
Upload the MP3 to Micro.weblog. You can do that on the net within the Uploads part, or one of many native apps. All the apps even have some type of Copy HTML button to get an HTML audio tag for the add. It will look one thing like this:
<audio src="…" controls=“controls”>
Before we paste this into the edited weblog submit, we truly need to disguise the default audio participant that would seem in net browsers. To do that, add a model attribute:
<audio src="…" controls=“controls” model=“show: none”>
If the audio participant is hidden, what’s the purpose? Micro.weblog sees the tag anyway. It additionally is aware of the period of the audio, so it may possibly make a guess as as to if this can be a narrated model of the weblog submit. If it’s, it skips some options reminiscent of including a hyperlink to the transcript of the audio. (Because the weblog submit textual content you wrote is already the most effective transcript.)
Note that to show a weblog submit right into a podcast episode or narrated submit, all that’s wanted is the audio tag. This is as a result of Micro.weblog natively thinks about posts as HTML. Photo posts have an img tag, audio posts have an audio tag, and so forth. When Micro.weblog publishes your weblog submit, it parses the HTML and units up any metadata that’s wanted, for instance to entry from inside Hugo.
When you write a brand new submit and embrace audio on the time of posting, not later, Micro.weblog handles managing the audio tag for you, together with the CSS to cover posts which might be audio narration. Later, we plan to enhance the enhancing interface so that is extra seamless too.
HI-FI News
by way of Manton Reece https://www.manton.org/
May 28, 2024 at 07:36PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








