Plugin Author
Sovica
(@sovica)
Hi Davide,
What Brid plugin version are you using and also what AMP plugin are you using?
Do you also perhaps have an example page where we can see this problem?
Hello @sovica
we are using your last version: 2.9.1 and ampforwp.com plugin, to manage AMP (it uses official AMP plugin out of the box) => https://it.ww.wp.xz.cn/plugins/accelerated-mobile-pages/
Unfortunately I can’t publish here the example page (but I will do in a private thread, of course).
I didn’t find a hook to override your
public static function amp_brid_script() {} function,
in BridShortcode.php, so I did comment your:
<script type="text/javascript" src="https://cdn.ampproject.org/v0/amp-brid-player-0.1.js" async custom-element="amp-brid-player"></script>
inclusion, and I did request an AMP validation on Google Search Console. Mine is a workaround, I would like to fix with you the issue.
Thanks
Plugin Author
Sovica
(@sovica)
Davide,
It looks like that the ampforwp plugin added inherit support for our player in the AMP ecosystem so it references the required JS file and so do we so there is a double-reference currently.
We’ll be pushing a change to our plugin so that we remove our reference and let the ampforwp plugin do this instead of us as it seems to be the fastest way to fix this inconsistency.
You can expect a new plugin version of our plugin today regarding this.
Thanks for bringing this to our attention.
This sounds so good. Thanks for support and fast reply.
Have a nice day