ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

[amp-story-player] Error when story imports amp-viewer-integration #29221

Open Enriqe opened 4 years ago

Enriqe commented 4 years ago

If a story inside the player imports amp-viewer-integration, the following error is thrown. Player still functions normally.

v0.js:109 message channel can only be initialized once
Cf @ v0.js:109
v0.js:415 Uncaught (in promise) Error: message channel can only be initialized once
    at Zk.f.setMessageDeliverer (v0.js:415)
    at Qa (amp-viewer-integration-0.1.js:38)
    at amp-viewer-integration-0.1.js:37
v0.js:109 message channel can only be initialized once
Cf @ v0.js:109
v0.js:415 Uncaught (in promise) Error: message channel can only be initialized once
    at Zk.f.setMessageDeliverer (v0.js:415)
    at Qa (amp-viewer-integration-0.1.js:38)
    at amp-viewer-integration-0.1.js:37
v0.js:109 message channel can only be initialized once
Cf @ v0.js:109
v0.js:415 Uncaught (in promise) Error: message channel can only be initialized once
    at Zk.f.setMessageDeliverer (v0.js:415)
    at Qa (amp-viewer-integration-0.1.js:38)
    at amp-viewer-integration-0.1.js:37
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.