View Code? Open in Web Editor
NEW
This project forked from discourse/discourse-media-events
A theme component to enable tracking of media (video and audio) player events
License: MIT License
discourse-media-events's Introduction
- This component adds event tracking for
<video>
and <audio>
tags in posts via api.decorateCookedElement
.
- The events tracked are:
- The events are captured and broadcast using
appEvents
and the prefix discourse-media:
e.g. discourse-media:video:play
or discourse-media:audio:pause
.
- The post and topic ID that the media is playing in is captured, as well as the media source and the filename of the source.
discourse-media-events's People
Contributors