#68 – Easy Digital Downloads AMP

Posted in ‘Presale’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Tuesday, 10 April 2018 14:02 UTC
[email protected]
Hi, firstly i'm sorry for bad English. I'm making a multistation radio website. you can see my work radyo(.)ajansturka(.)com . Can i play the radios on AMP pages? Radio pages calling from easy digital downloads. Before buy your amp plugin, i want to learn can we integrate the player on amp pages?
Tuesday, 10 April 2018 14:14 UTC

the player on amp pages
You cannot include your audio player (jpplayer?) on AMP pages directly. It uses javascript which is forbidden on AMP pages. AMP (and weeblrAMP will convert automatically )supports the <audio> HTML5 tag. AMP also has support for some players, but they are mostly video players (Brightcove, DailyMotion, Hulu, Wistia,...) as far as I know. Here the AMP doc page for the audio player, and you will find in the side bar a list of players that AMP supports.

You can create an iframe that includes the player, but I would suspect that would require development of custom AMP template overrides for EDD.

In either case, I think the simplest way is to use the "Show/hide" content (see doc) to add custom content that will only be displayed on the AMP pages. Again, that will certainly requires development of custom code for EDD support.

Best regards
Tuesday, 10 April 2018 14:59 UTC
[email protected]
Thank you for answer.
How can i add amp html5 player fixed in footer? And can i get source mp3 (stream) url from edd with query or custom field.
Tuesday, 10 April 2018 15:02 UTC

How can i add amp html5 player fixed in footer?
weeblrAMP lets you enter custom HTML for the footer in the weeblrAMP settings. Or you can use filters and / or template overrides. I would suggest you read the documentation (it's freely accessible on this site).

And can i get source mp3 (stream) url from edd with query or custom field.
I suspect that's something you would have to discuss with the EDD team?

Best regards

Wednesday, 25 April 2018 05:34 UTC
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.