Play Audio with EDD purchased File URL
-
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.
- The topic ‘Play Audio with EDD purchased File URL’ is closed to new replies.