How to play an mp3 using fancybox
- by user2980783
I am adding fancybox to my page and to display different types of formats. I was able to implement video, text, and images seamlessly but when it doesn't load the audio. Once I click on the audio file on the gallery it opens on a blank page. I am trying to play the track as iframe if possible. Can anyone help with this. Thank you.
<a class="hover-wrap" data-fancybox-type="iframe" data-fancybox-group="music" title="Breathin'" href="_include/download/Breathin'.mp3">
<span class="overlay-img"></span>
<span class="overlay-img-thumb font-icon-plus"></span>
<p class="description">
<span class="title">Song</span>
</p>
</a>