Support » Plugin: Easy Media Download » MP3 file starts playing instead of downloading

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks naa986, that works.

    Do you know if it is possible to use an audio player and a download button in the same blog post?

    I would like some people to be able to listen online and others to download (well, to at least offer both options in the same post if possible).

    After applying your force download code the download works perfectly, but the audio player does not play. Does the force_dl code have an effect on the audio player as well?

    Plugin Author naa986

    (@naa986)

    This plugin does not include any audio player. Which audio player are you referring to?

    You can manually embed an audio file just before the shortcode. This feature is available in the core WordPress. So you don’t need to install any plugin for it:

    https://codex.wordpress.org/Audio_Shortcode

    I found this simple solution that worked for me:

    <a href="http://test.com/path/to/my/file.mp3" download="file.mp3">download</a>

    It came from:
    http://stackoverflow.com/questions/19512847/force-download-instead-of-streaming-of-mp3-file-in-ff

    Sorry, wrong thread I did not notice that this was only related to ‘Easy Media Download Plugin For WordPress’

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MP3 file starts playing instead of downloading’ is closed to new replies.