That little 'player in a blog' trick

More
1 week 7 hours ago - 1 week 7 hours ago #778 by GumboStu
GumboStu created the topic: That little 'player in a blog' trick
I first saw this in a blog by marz (The Calculus Affair) so credit goes to himself.

When you are composing your blog entry there is a box of useful formatting shortcuts with a series of tabs. The tab on the right says 'Tools' and drops down to 'source code'. Click on this and paste in the following code.

<audio controls="controls">
<source src="/media/com_myplayer/tracks/1128/1518570676-William-Butler-Yeats-demo.mp3" type="audio/mpeg" />

</audio>

In the front page player you can open your song in a new tab in your browser and it has an address like this:
rpmchallenge.com/media/com_myplayer/trac...76-Une-Cigarette.mp3

so you have to swap out (copy/paste) the relevant part of the url address and the code looks like this now:

<audio controls="controls">
<source src="/media/com_myplayer/tracks/441/1518572776-Une-Cigarette.mp3" type="audio/mpeg" />

</audio>

make sure you don't accidentally delete or overwrite one of those quotation marks in the code!
Good luck, and let me know if there is an easier way.
Last Edit: 1 week 7 hours ago by GumboStu.
The following user(s) said Thank You: rob3rto, SoBaEx, TimHall

Please Log in or Create an account to join the conversation.

More
1 week 7 hours ago #780 by klandry
klandry replied the topic: That little 'player in a blog' trick
Thanks! I'll be regularly bumping this to the top to remind myself how to do this.

Please Log in or Create an account to join the conversation.

More
6 days 20 hours ago #799 by GumboStu
GumboStu replied the topic: That little 'player in a blog' trick
I had to look again at it myself today :-)

Please Log in or Create an account to join the conversation.

More
2 days 9 hours ago #871 by GumboStu
GumboStu replied the topic: That little 'player in a blog' trick

I'll be regularly bumping this to the top


Oh yeah! :)

Was there a tips and tricks forum when i posted this. I wish i could move it *whistles nonchalantly*

Please Log in or Create an account to join the conversation.

More
19 hours 6 minutes ago #905 by klandry
klandry replied the topic: That little 'player in a blog' trick
I'm going to apply this eventually. Until then...

Bump

Please Log in or Create an account to join the conversation.

More
19 hours 3 minutes ago #906 by GumboStu
GumboStu replied the topic: That little 'player in a blog' trick
Good man yourself!

Please Log in or Create an account to join the conversation.

Time to create page: 0.315 seconds
Powered by Kunena Forum