Hi,
I have a website with cupper-hugo-theme and I would like to play mp3, wav and ogg files. What is needed to do that?
Thanks for any possible help.
Regards
Hi,
I have a website with cupper-hugo-theme and I would like to play mp3, wav and ogg files. What is needed to do that?
Thanks for any possible help.
Regards
HTML5 has the audio tag that will show a audio player.
I use that in an short code on my Zen theme.
Thanks!
Please just tell me how to declare the source file which is on my /static/audio folder.
I figured out!
many thanks
How did you resolve this issue. just looking for reference.
Everything you put in the “static” folder will end up at the root folder of your site.
So an audio file put in:
static/audio/audio.mp3
Will end up at:
/audio/audio.mp3
So the shordcode from the Zen theme I mentioned above will look like this:
{{< audio src="/audio/audio.mp3" class="something" >}}
{{< audio src="/audio/audio.mp3" caption=“something” >}}
When I use the above to caption the audio, nothing appears. Is this correct?
Hi @stockphrase
The original question on this thread has already been answered. Please have a read about Requesting Help then open a new question following the guidelines.