Haiku minimalist audio player
Hide MP3 File Link? (5 posts)

  1. seanpatrick
    Posted 3 years ago #

    This plugin is perfect for what I need... except it makes it fairly easy for someone to find the MP3 file and thus download it. Any way to hide the actual file link or at least make it a tad bit harder than a simple right click to find it?



  2. Zoinks! Graphics
    Posted 3 years ago #

    I too share this concern about the too easy-to-find MP3 path. Haiku is one of a handful of audio players that work on the iPhone/iPad platforms, so I'd prefer to stick with it, if only this issue can be resolved. Thanks!!

  3. johanronstrom
    Posted 3 years ago #

    This is not an issue with the plugin, but with HTML5 audio in general.

    First we need to make it clear that it is always possible download any content that is shown on screen or heard through speakers. Now that that is out of the way, there are a few ways to obscure the files a little.

    None of these obscuring schemes are done by the plugin, but by you as server admin.

    This thread discusses obscuring mp3 path by loading them via a script (the mp3 is still on public server, but with secret URL):

    This thread discusses a possibility to load files above the httpdocs folder via a script:

    Regards / Johan

  4. Zoinks! Graphics
    Posted 3 years ago #

    Hi Johan, thanks for the response.

    First, while it is certainly possible to use browser add-on or 3rd party programs to record any sound or video played on a site, the point is that the Haiku plugin displays the audio as a direct link to the source MP3 in the source code. That's what seanpatrick and I are taking some issue with. Sure, grabbing our audio without such a link is POSSIBLE. We just don't want to make it SUPER-EASY. That and a direct link will most certainly result in increased server load from folks not just using the link to download the song, but possibly share said link on other sites.

    That said, thanks for the info about encoding the path on the server end. For those WP users who are not server admin gurus (I just barely qualify) is it possible for the plugin to obscure the MP3 path via a script?

  5. johanronstrom
    Posted 3 years ago #

    I understand what you mean.

    The problem here is that since the player needs access to the mp3 file, and the player is 100% client-side, the client will have access to the mp3 url.

    You could use obscuring mechanisms on the path, for example base64 encoding or other, but the browser still needs to understand the path. So while you could encode the path in the source, to make it look weird, the media browser in for example firefox will still find it (if it doesn't, neither will the player)..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.