How to play audio file on fancybox?
<p>I have used fancybox for my gallery. When I click the gallery image it will display image and title in lightbox, alright. But my audio file is not working.
Here is my code:</p>

<pre><code>&lt;a class="fancybox-thumbs" title="mytitle" data-fancybox-group="thumb"  href="4_b.jpg"
 audio-html="&lt;audio autoplay='autoplay' controls='controls'&gt;&lt;source src='https://archive.org/download/melody2007/bandaamorperfeito-aovivo-01-lovelouco.mp3'/&gt;&lt;/audio&gt;"&gt;&lt;img src="4_s.jpg" alt="" /&gt;&lt;/a&gt;
</code></pre>

<p>JAVASCRIPT</p>

<pre><code>$('.fancybox-thumbs').fancybox({
    prevEffect : 'none',
    nextEffect : 'none',

    closeBtn  : true,
    arrows    : true,
    nextClick : true,

    helpers : {
        thumbs : {
            width  : 100,
            height : 100
        },
        title : {
            type : 'inside'
        },
        buttons : {}
    },
    afterLoad : function() {
        this.title;
    }
});
</code></pre>