Is it possible to play audio from a static Jekyll page?


#1

I did a little poking around and found what looked to be like html to get the job done. It actually kind of worked. My page recognized how long the song was for a brief moment. I also was able to download the song file from my static page using the download button (which was no longer enabled when I took the screen shot).

<audio src="/assets/2018-03-21/audio.wav" controls preload></audio>

The empty player

Is it possible to play music directly from my page?


#2

Yes, see https://jekyllcodex.org/without-plugin/open-embed/


#3

Yes, see the Octopod extension for Jekyll that let’s you build podcast (audio) and radio talk show (static) websites with feeds and incl. a web audio player for every episode incl. show notes and more https://jekyll-octopod.github.io. Cheers.