- This component adds event tracking for
<video>and<audio>tags in posts viaapi.decorateCookedElement. - The events tracked are:
- play
- pause
- ended
- timeupdate (optional, configured via
timeupdate_event_frequencysetting)
- The events are captured and broadcast using
appEventsand the prefixdiscourse-media:e.g.discourse-media:video:playordiscourse-media:audio:pause. - The post and topic ID that the media is playing in is captured, as well as the media source, the filename and the current time of the source.
-
Notifications
You must be signed in to change notification settings - Fork 1
A theme component to enable tracking of media (video and audio) player events
License
discourse/discourse-media-events
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A theme component to enable tracking of media (video and audio) player events