Apache Authentication

We are trying to provide apache authentication when a user presses play on the html5 audio player. Our problem is that users are prompted to login when the page loads instead of when they press play. When and where does Omeka first request resources for each item? I understand that Apache asks the browser for login information once the resource has been requested but we want to delay that request.