web-monetization-projects
web-monetization-projects copied to clipboard
Tipping when top level frame is not monetized, only iframe[s] are
Once you run one of the games it fires the iframe monetization start and the extension lights up. However ever time I attempt to tip the game/content, to extensions says ’something went wrong.’… example games: https://havana24.itch.io/relic-splatter https://nimblebeastscollective.itch.io/moonshot
ALSO: could we do something about that error message, ie. today it flashes in and out so it’s easy to miss. Perhaps if there is ‘something wrong’ it’s in a different colo(u)r and stays persistent so it’s more highlighted. And a way to easily report it — or to who.
I think it's getting confused because the base page doesn't have a payment pointer, only the iframe. If only one frame in the tab is monetizing then the solution seems straightforward enough but I can't think of a very elegant way to generally solve this. If there's many frames in a tab then how might we decide which one gets a tip?
Perhaps we could simply divide the tip amongst the STREAMS ? Weighted top first ?
@sabinebertram You are working on tips right? What do you think about just distributing the tip amongst the iframes ?

https://linear.app/coil/issue/COIL-526/tip-button-does-not-work-on-httpschichorditchiocardx