stories-react icon indicating copy to clipboard operation
stories-react copied to clipboard

Need sound button clicked event

Open quedicesebas opened this issue 1 year ago • 6 comments

No sure how to achieve it

quedicesebas avatar Mar 04 '23 18:03 quedicesebas

we have a callback that gets called on every story change. u can attach your own sound in that callback.

hannadrehman avatar Mar 05 '23 12:03 hannadrehman

Sorry, I didn't make myself understood. I meant that it would be useful to call an event when the user clicks the sound button in the video stories (for example to keep interaction statistics, see if the button is being seen and so on).

Something like afterSoundButtonClicked callback.

quedicesebas avatar Mar 05 '23 16:03 quedicesebas

oh by bad. i didnt quite understand it before. but gotcha. we need to attach a callback for sound button interaction . could be something like onSoundChanges(state:boolean). i will add this to our milestones

hannadrehman avatar Mar 05 '23 19:03 hannadrehman

Yes, maybe attach also the storie data or index. If guide me, I can help with that.

quedicesebas avatar Mar 07 '23 00:03 quedicesebas

same problem, is there no mechanism currently to default the muted functionality to false? If not, I'm willing to contribute in any way

bugbuddy69 avatar Apr 17 '23 12:04 bugbuddy69

we should be able to add new props for story type video. i will add this asap

hannadrehman avatar Apr 18 '23 09:04 hannadrehman