How to play an mp3 using fancybox

Posted by user2980783 on Stack Overflow See other posts from Stack Overflow or by user2980783
Published on 2013-11-11T21:43:08Z Indexed on 2013/11/11 21:53 UTC
Read the original article Hit count: 117

Filed under:

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>

© Stack Overflow or respective owner

Related posts about fancybox