web-monetization-projects icon indicating copy to clipboard operation
web-monetization-projects copied to clipboard

Tipping when top level frame is not monetized, only iframe[s] are

Open sublimator opened this issue 4 years ago • 4 comments

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?

sublimator avatar Dec 15 '20 00:12 sublimator

Perhaps we could simply divide the tip amongst the STREAMS ? Weighted top first ?

sublimator avatar Dec 15 '20 03:12 sublimator

@sabinebertram You are working on tips right? What do you think about just distributing the tip amongst the iframes ?

sublimator avatar Jan 27 '21 05:01 sublimator

image

sublimator avatar Mar 07 '21 04:03 sublimator

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

sublimator avatar Mar 17 '21 07:03 sublimator