Closed coreymasanto closed 1 year ago
Hey @adamshwa, sorry to hear about your technical difficulties. I have a couple of questions:
maybeBuildAttribution_()
breakpoints, is the return
statement at line 365 being hit?Hi @coreymasanto, thanks for finding time to check this.
this.systemLayerEl_
, it returns null, so the following code fails to find the selector.
wdyt?https://stories.wnba.com/games/19630-21-08-22-Seattle-Storm-vs-Washington-Mystics.html
You've correctly specified the publisher
and publisher-logo-src
attributes on the amp-story
element, so the attribution logo & text should be visible when your story is viewed on Google Search and Google Discover. The attribution is not expected to show when your story URL is accessed directly.
Is your concern that the story is not displaying in Search/Discover with the publisher logo & text attribution? If so, then I think that the attribution should already be displaying correctly on these Google surfaces and no further work should be required. @newmuis, please chime in here if I'm incorrect.
Sorry, I've been away for the past few days.
Attribution is intended to show up only in viewers that support the attribution
feature. It's unclear to me from this thread exactly which platforms are being targeted, but for the ones that have been mentioned:
Despite this, there may be other viewers that do support viewing attribution (for example, you can configure amp-story-player to display attribution if you are using it on your own properties).
Closing issue as stale. but feel free to re-open if you have additional information
@adamshwa posted the following in https://github.com/ampproject/amphtml/issues/38329#issuecomment-1227355999