w3c / sync-media-pub

Repository of the Synchronized Multimedia for Publications Community Group
http://w3c.github.io/sync-media-pub
Other
16 stars 4 forks source link

Events #22

Open rdeltour opened 4 years ago

rdeltour commented 4 years ago

Would it make sense to define DOM Events for synchronized media? E.g. when narration starts/stops, when an element is played, etc.

marisademeglio commented 4 years ago

https://developer.mozilla.org/en-US/docs/Web/API/Event#Introduction

marisademeglio commented 4 years ago

or perhaps an onElementChange event, not so much start/stop playback

larscwallin commented 4 years ago

We would love that VERY much 🙂

larscwallin commented 4 years ago

We can review how we emit events and see what we can reuse 👍