Viewing 6 replies - 1 through 6 (of 6 total)
  • The audio file is injected by a js script. Put the audio file directly in the post and see what happens.

    Hi @lofesa,
    I just updated and the audio does not appear anymore on AMP, but I still have an error. Invalid URL protocol ‘http:’ for attribute ‘src’ in tag ‘amp-audio > source’.

    Audio, video and others media must be in https to work in amp. Amp is a very restrictive subset of html, don´t allow any javascript other thant the facilited by Google, and some resources must be in ssl (https) to work. Is included in your html
    <amp-audio class="wp-audio-shortcode amp-wp-inline-9b509615ff36253d2b3821c765f17274"><source type="audio/mpeg" src=""/></amp-audio>

    But not work

    Plugin Author Ahmed Kaludi


    Hey @rijo

    Thank you so much for using the plugin! Yes, as @lofesa has pointed out, the URL’s need to be https instead of http. AMP has strict guidelines to make sure that everyone complies with the standards.

    Does that help? if not, then let me know so that I can think of some other creative solution.


    Hi @lofesa, Hi @ahmedkaludi,

    that helped. It is now fixed, after changing the website to https.


    Hi @rijo
    Glad to hear this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Audio’ is closed to new replies.