Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-09-05 19:48:05

colin99
Member
Registered: 2005-11-15
Posts: 65

Adding MP3 audio for dummies...

Was looking around for a nice and cheap mp3 player for podcasts and add-ons for content in my blog — when someone pointed out that most browsers natively support HTML5 and the ready insertion of a basic MP3 player -

Example -

<audio src="/files/1010NewsTalk-Coffee-Snippet.mp3" controls="controls"></audio>
 <br /> XERF 1010</p>
<hr />
<p>
<audio src="http://yourDomain.com/files/2YC-2013.mp3" controls="controls"></audio>
 <br /> 2YC New Zealand Talk Radio</p>
<hr />
<p>
<audio src="http://shoutcast.com/files/Radio-800-April-26-2017.mp3" controls="controls"></audio>
 <br /> Radio 800 show</p>
<hr />

This is least fancy – but you can add basic shapes and features to the player.
And yes, I am likely the last person on Earth to realize this.


On the World Wide Web since Day 1 – Editor/Creator – Coffeecrew.comCoffee.bc.ca
Twitter – Twitter.Com/CoffeeCrew -

Offline

#2 2021-12-14 19:05:16

colin99
Member
Registered: 2005-11-15
Posts: 65

Re: Adding MP3 audio for dummies...

The same methodology works for Joomla, Wordpress et al…

It’s nice just dropping in an MP3 without thinking about it too much.

Seasons Pandemic Greetings.


On the World Wide Web since Day 1 – Editor/Creator – Coffeecrew.comCoffee.bc.ca
Twitter – Twitter.Com/CoffeeCrew -

Offline

Board footer

Powered by FluxBB