Streaming mp3 s2member-files

Hi all!

I have a client that wants to stream some protected MP3’s - is this possible without using [s2stream] and jw player?

They already have a library of plublically available thats use the [embed] shortocde, but when trying this with the [embed] or [audio] shortcodes I get the player but when I hit play nothing happens…


[audio mp3="?s2member_file_download=welkomstwoord.mp3"]

Any ideas will be greatly appreciated.



Hi Zoe.

Yes, it’s possible to reproduce media with other players.

If you try the URL by itself, does it give you the file? I tried it, but it doesn’t seem to work, it’s not sending me the Membership Options Page…

Once you get the URL by itself, try it in the embed shortcode.

If that doesn’t work, it may be that the player trying to load the file is not recognized as part of the logged in user’s session, in which case you’d need to give it a download key in the URL.

Did you try generating a download key for the link to the file? See: WP Admin > s2Member > Download Options > Shortcode Attributes & API Functions > Download Key

I don’t think you can have a shortcode inside another one (s2File inside embed or audio), though. You may need to use PHP to get the URL with the key…

I hope that helps! Let me know how it goes.


Thanks for this Cristián!

I’ve sorted it, I had disabled the plugin whilst I didn’t need it, but I didn’t think to go to the direct link - that told me what I hadn’t set up properly :man_facepalming:

All sorted and working really well!!

Thanks :slight_smile:

1 Like

Oh, I see! Well, that explains it then. lol

No worries. I’m glad it was such an easy fix! Thank you for taking a moment to update me.

Let me know when you need something again.

Have a great week! :slight_smile: