• Resolved Erfan MHDi

    (@erfanmhd)


    Hello,

    i’m using WordPress Player shortcode like 10Sec audio file as preview as below:

    echo do_shortcode('[audio src="https://domain.com/audiofile-preview.mp3"]')

    so users can play a preview of their audio files on site before they purchase it.

    i was wondering if i can give user the ability to play the whole audio file ( EDD Download File ) on site after they make purchase, without having to download the purchased file.

    something like this i assume:

    echo do_shortcode('[audio src="https://domain/index.php?eddfile=4563%3A4207%3A1%3A0&ttl=1605898384&file=1&token=f2c780ab64d202500c49f858403a5ba24d4eb85d9ec6e57cd907db71b4199102"]')

    but as the link is encrypted by EDD it can’t be played on site.

    is there any way i can load a wordpress player with EDD download file link as “src” ?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @erfanmhd

    You can not use the encrypted file path over here. When you upload the MP3 at EDD product page, you can see the real path their (Actual Media Path). You can use it here.

    Plugin Support Mihai Joldis

    (@misulicus)

    Because there have not been any recent updates to this topic we’ll be changing the status to resolved. If you have any further questions you can start a new thread or head over to our support page to submit your request if it is related to one of our available extensions

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Play Audio with EDD purchased File URL’ is closed to new replies.